diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-09-08 00:25:42 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-09-21 16:17:11 +0300 |
commit | cf96921876dcee4d6ac07b9de470368a075ba9ad (patch) | |
tree | bd545e475248099c953c4ddb71a412cc1f3c3cb4 /fs/ksmbd/transport_rdma.c | |
parent | 1bb30b20b49773369c299d4d6c65227201328663 (diff) | |
download | linux-cf96921876dcee4d6ac07b9de470368a075ba9ad.tar.xz |
thermal/drivers/tsens: Fix wrong check for tzd in irq handlers
Some devices can have some thermal sensors disabled from the
factory. The current two irq handler functions check all the sensor by
default and the check if the sensor was actually registered is
wrong. The tzd is actually never set if the registration fails hence
the IS_ERR check is wrong.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210907212543.20220-1-ansuelsmth@gmail.com
Diffstat (limited to 'fs/ksmbd/transport_rdma.c')
0 files changed, 0 insertions, 0 deletions