media: aspeed: refine to avoid full jpeg update
authorJammy Huang <jammy_huang@aspeedtech.com>
Tue, 14 Sep 2021 09:49:20 +0000 (11:49 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 5 Oct 2021 07:36:06 +0000 (09:36 +0200)
commit164646a78598071681032ace5fd3c9a1d57d8669
tree7773ae071d323f72c9d8c8cac08f9f174cb49a84
parent83ffdc3292466d487a3cf38bc33516b6b42b7e5b
media: aspeed: refine to avoid full jpeg update

The switch of jpeg 420/444 subsampling will update full jpeg header for
aspeed now.

Just update the 420/444 subsampling part of jpeg header is fine.

Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/aspeed-video.c