]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: aspeed: Correct value for h-total-pixels
authorJammy Huang <jammy_huang@aspeedtech.com>
Tue, 25 Jan 2022 06:44:07 +0000 (07:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:43 +0000 (13:57 +0200)
commita07ff4eeaf0696182cd54b8135da5d1cdeba761c
treedb1865420ba0680ca5a2d4f736ad3897162b88de
parentd183fe68360791638f53c129015d618130ca4f89
media: aspeed: Correct value for h-total-pixels

[ Upstream commit 4b732a0016853eaff35944f900b0db66f3914374 ]

Previous reg-field, 0x98[11:0], stands for the period of the detected
hsync signal.
Use the correct reg, 0xa0, to get h-total in pixels.

Fixes: d2b4387f3bdf ("media: platform: Add Aspeed Video Engine driver")
Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/aspeed-video.c