diff options
author | 2024-12-06 10:26:40 +0200 | |
---|---|---|
committer | 2024-12-19 12:50:15 +0100 | |
commit | 42d0ec194aa12e9b97f09a94fe565ba2e5f631a2 (patch) | |
tree | 429dc29854e161380592ca0e5f80ade244a12823 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: i2c: ds90ub960: Fix use of non-existing registers on UB9702 (diff) | |
download | wireguard-linux-42d0ec194aa12e9b97f09a94fe565ba2e5f631a2.tar.xz wireguard-linux-42d0ec194aa12e9b97f09a94fe565ba2e5f631a2.zip |
media: i2c: ds90ub960: Fix logging SP & EQ status only for UB9702
UB9702 does not have SP and EQ registers, but the driver uses them in
log_status(). Fix this by separating the SP and EQ related log_status()
work into a separate function (for clarity) and calling that function
only for UB960.
Cc: stable@vger.kernel.org
Fixes: afe267f2d368 ("media: i2c: add DS90UB960 driver")
Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions