aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2018-05-25 21:10:10 -0400
committerZhang Rui <rui.zhang@intel.com>2018-05-30 02:22:26 -0400
commitd8e3a61318b9b18b56680bd62e93afbafae16263 (patch)
treea647787c4547d076a17c2dd99b4234d11906d26d /drivers/pwm/pwm-stm32.c
parent771c577c23bac90597c685971d7297ea00f99d11 (diff)
thermal: int340x: Prevent error in reading trip hysteresis attribute
Some of the INT340X devices may not have hysteresis defined in the ACPI definition. In that case reading trip hysteresis results in error. This spams logs of user space utilities. In this case instead of returning error, just return hysteresis as 0, which is correct as there is no hysteresis defined for the device. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions