summaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2022-09-17 15:02:56 +0100
committerVinod Koul <vkoul@kernel.org>2022-09-20 10:35:39 +0530
commit560458df5f144fb3547a9fde8e0b7b2143ef0711 (patch)
tree9eb15d2191fe58008c1b4b44841482084c3e2129 /drivers/fpga/fpga-bridge.c
parented8d07acec73c34cbebd209ff7a37051424de60c (diff)
downloadlinux-560458df5f144fb3547a9fde8e0b7b2143ef0711.tar.bz2
soundwire: bus: Fix wrong port number in sdw_handle_slave_alerts()
for_each_set_bit() gives the bit-number counting from 0 (LSbit==0). When processing INTSTAT2, bit 0 is DP4 so the port number is (bit + 4). Likewise for INTSTAT3 bit 0 is DP11 so port number is (bit + 11). Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220917140256.689678-1-rf@opensource.cirrus.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions