aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-12-07 06:25:45 -0500
committerWolfram Sang <wsa@the-dreams.de>2017-12-12 17:27:04 -0500
commit45fd4470ba86e9ca2837b666a52cc65dc69f0fa3 (patch)
tree9baa298e12215d8c1ba5f356d0a3313d85cb8842 /include/linux/fpga/fpga-bridge.h
parent9c41e452188339989c2c9ca5fc54f10935207968 (diff)
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>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions