Jean Delvare 45fd4470ba i2c: piix4: Fix port number check on release
The port number shift is still hard-coded to 1 while it now depends
on the hardware.

Thankfully 0 is always 0 no matter how you shift it, so this was a
bug without consequences.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: 0fe16195f891 ("i2c: piix4: Fix SMBus port selection for AMD Family 17h chips")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2017-12-12 23:27:04 +01:00
..
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2017-10-28 14:03:45 +02:00
2014-11-07 18:35:33 +01:00
2016-10-25 11:48:58 +02:00
2014-11-07 18:35:33 +01:00
2017-08-29 22:35:14 +02:00
2014-11-07 18:35:33 +01:00
2017-08-12 13:25:17 +02:00
2017-08-12 16:39:47 +02:00
2017-04-16 21:48:06 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2017-12-12 23:16:04 +01:00
2017-12-12 23:16:04 +01:00
2017-12-12 23:16:04 +01:00
2014-11-07 18:35:33 +01:00
2017-08-29 22:26:08 +02:00