pata_isapnp: Don't use invalid I/O ports
authorOndrej Zary <linux@rainbow-software.org>
Thu, 12 Sep 2013 21:01:29 +0000 (23:01 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 7 Oct 2013 19:17:32 +0000 (15:17 -0400)
The test for 2nd I/O port validity is broken (reversed): On devices
with no control port, the driver attempts to use invalid port 0,
resulting in logs full of bad_io_access errors.  On devices with
control port, the driver does not use it.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Tejun Heo <tj@kernel.org>

No differences found