media: s5p-mfc: Fix in register read and write for H264
authorSmitha T Murthy <smitha.t@samsung.com>
Wed, 7 Sep 2022 10:32:25 +0000 (16:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2023 10:59:06 +0000 (11:59 +0100)
commitb131b5f1361e686a0f11e7b3c3ea4c332fe6d277
tree78000220470a37f2c715a2a1de5d68297d485986
parentff27800c0a6d81571671b33f696109804d015409
media: s5p-mfc: Fix in register read and write for H264

[ Upstream commit 06710cd5d2436135046898d7e4b9408c8bb99446 ]

Few of the H264 encoder registers written were not getting reflected
since the read values were not stored and getting overwritten.

Fixes: 6a9c6f681257 ("[media] s5p-mfc: Add variants to access mfc registers")

Cc: stable@vger.kernel.org
Cc: linux-fsd@tesla.com
Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c