]> git.baikalelectronics.ru Git - kernel.git/commit
media: vsp1: tidyup VI6_HGT_LBn_H() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 11 Dec 2019 01:55:57 +0000 (22:55 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 27 Feb 2020 20:49:48 +0000 (17:49 -0300)
commite6765b5aa1aa1b3e35bff08c51ab4b3f85f59f5e
tree17481760be1e2aeb02b9ec769e8cb22d816ccb2c
parent233395fc66656ef6abe4d2f8835fb5590e245cf9
media: vsp1: tidyup VI6_HGT_LBn_H() macro

The address of VSP2_VI6_HGT_LBx_H are
VSP2_VI6_HGT_LB0_H : 0x3428
VSP2_VI6_HGT_LB1_H : 0x3430
VSP2_VI6_HGT_LB2_H : 0x3438
VSP2_VI6_HGT_LB3_H : 0x3440

Thus, VI6_HGT_LBn_H() macro should start from 0x3420 instead of 0x3430.
This patch fixes it.

Fixes: c19015ac60e9 ("[media] v4l: Renesas R-Car VSP1 driver")
Reported-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vsp1/vsp1_regs.h