summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khalasa@piap.pl>2021-07-30 08:59:19 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-09-30 10:07:39 +0200
commit8d246e293228881b557798416cb064d644cdb10e (patch)
treec337a496f1edb4282bba4db83ca953bda7cad76b /include/uapi/linux
parent2c98b8a3458df03abdc6945bbef67ef91d181938 (diff)
media: TDA1997x: fix tda1997x_remove()
TDA1997x driver tried to hold two values in a single variable: device's "client data" pointer was first set to "sd" in v4l2_i2c_subdev_init(), then it was overwritten explicitly using dev_set_drvdata() with "state". This caused tda1997x_remove() to fail badly. Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions