summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-axp288.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2019-03-13 10:47:13 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-20 05:59:41 -0400
commit76eb24fc233b8c94b2156ead5811e08d2046ad58 (patch)
tree324ed2f02a29692676ea03c639c05fb01ad78049 /drivers/extcon/extcon-axp288.c
parentf221b84ee13c5a6af837f497a2a89732472ad27c (diff)
media: vicodec: reset last_src/dst_buf based on the IS_OUTPUT
When start_streaming was called both last_src_buf and last_dst_buf pointers were set to NULL, but this depends on whether the capture or output queue starts streaming. When decoding with resolution changes in between the capture queue has to restart streaming whenever a resolution change occurs. And that would reset last_src_buf as well, which causes a problem if the decoder was stopped by the application. Since last_src_buf is now NULL, the LAST flag is never set for the last capture buffer. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/extcon/extcon-axp288.c')
0 files changed, 0 insertions, 0 deletions