pata_ninja32: Avoid corrupting status flags
authorAlan Cox <alan@linux.intel.com>
Tue, 30 Aug 2016 15:47:02 +0000 (16:47 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 30 Aug 2016 15:59:47 +0000 (11:59 -0400)
commit9ebae9e4bcd7dff22536af8a969d8f66e6f23900
treeba889d72dd4370096ded458db27704d1d139309c
parent9b4b3f6a062b22550e62523efe5213776cdd426b
pata_ninja32: Avoid corrupting status flags

Ninja32 needs to set some flags to indicate it does 32bit IO. However it currently assigns this which
loses the initializing flag and causes a warning spew. Fix it to use a logical or as is intended.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Tested-by: Ellmar Stelnberger <estellnb@elstel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_ninja32.c