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>
Sat, 7 Jan 2023 10:11:41 +0000 (11:11 +0100)
commitf845a9d33b4e25215b3e3c31751debf57d5daf89
treea3b2748c428d6e28e088a58ff6d24ce30c9d014f
parentbd1b72f0c39a0d791a087b4e643701a48328ba8e
media: s5p-mfc: Fix in register read and write for H264

commit 06710cd5d2436135046898d7e4b9408c8bb99446 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.c