]> git.sur5r.net Git - u-boot/commit
dwc_ahsata: use bitwise operator in sata_port_status
authorNikita Kiryanov <nikita@compulab.co.il>
Tue, 28 Oct 2014 12:59:29 +0000 (14:59 +0200)
committerTom Rini <trini@ti.com>
Tue, 28 Oct 2014 16:39:59 +0000 (12:39 -0400)
commit0029d6c1deadd1d350688c56c791fc4afe44dbcf
treea4bc92ed472d085a6bb4fb2f93a4a6402b28a09f
parent93575c30acda2b5802f542a17b296646841c88c1
dwc_ahsata: use bitwise operator in sata_port_status

The logic of the return statement in sata_port_status() calls for a
bitwise 'AND' operator, not logical 'AND'. Fix the typo.

Reported-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
drivers/block/dwc_ahsata.c