aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorJan Sokolowski <[email protected]>2017-09-26 13:06:09 +0000
committerDoug Ledford <[email protected]>2017-09-27 15:10:36 +0000
commit753b19afb19dd97d0767df5e8afb13faff605315 (patch)
tree5f1f7ebbd3cd91247f9e7e70d6d43bf51cb10424 /drivers/iio/trigger/stm32-timer-trigger.c
parentIB/hfi1: Only reset QSFP after link up and turn off AOC TX (diff)
downloadkernel-753b19afb19dd97d0767df5e8afb13faff605315.tar.gz
kernel-753b19afb19dd97d0767df5e8afb13faff605315.zip
IB/hfi1: Check eeprom config partition validity
Relying on a trailing magic value is incorrect. There are instances where this is not present as trailing magic value has a specific purpose which is not partition validation. Instead use the header magic value which is present in all variants of the platform configuration and is intended for validation. This is also used in other locations in the driver. Fixes: bc5214ee2922 (IB/hfi1: Handle missing magic values in config file) Reviewed-by: Jakub Byczkowski <[email protected]> Signed-off-by: Jan Sokolowski <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions