]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9c46fc16ec3988cfc62cdf6a780c341968513d0
treeba889d72dd4370096ded458db27704d1d139309c
parent18f9d35163379b08017080a72a75338b257b16e4
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