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)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 7 Dec 2022 16:58:46 +0000 (17:58 +0100)
commit06710cd5d2436135046898d7e4b9408c8bb99446
tree9d2c677e97fd0915466f191e913a74b3539314ce
parent7318abface486d6a6389731810f5b60650daedb5
media: s5p-mfc: Fix in register read and write for H264

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>
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.c