diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2020-03-12 11:31:47 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-03-12 16:37:46 +0100 |
commit | b4125e5b1bd70d3d9c22f8926e99c87967d71734 (patch) | |
tree | c5834c76ac257701a5d2743e2692e445347335f5 /drivers/memory | |
parent | fc79884b00dc5c385bc04bec4cdcd556d0a39981 (diff) | |
download | linux-b4125e5b1bd70d3d9c22f8926e99c87967d71734.tar.bz2 |
media: tvp5150: fix set_selection rectangle handling
Currently a local copy of sel->r is made and adapted to the hardware
constraints. After the adaption the value is applied to the hardware but
the driver forgot to reflect the adapted value to the user space.
Drop the local copy and work directly on the requested rectangle
instead to fix this.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions