diff options
| author | Krzysztof Hałasa <khalasa@piap.pl> | 2021-07-30 08:59:19 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:39 +0200 |
| commit | 8d246e293228881b557798416cb064d644cdb10e (patch) | |
| tree | c337a496f1edb4282bba4db83ca953bda7cad76b /include/uapi/linux | |
| parent | 2c98b8a3458df03abdc6945bbef67ef91d181938 (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
