]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 18 Jan 2023 10:41:53 +0000 (11:41 +0100)
commitb7ae981c043375fba0e897b97e664c1ab11548f1
tree81a523998e23b6cf01e67e45560accc1032c23a0
parentb3017ba47202cfe10ff99cd6bdae5148b540d6d8
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: 31cff37f2c42 ("[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