media: hantro: use G1_REG_INTERRUPT directly for the mpeg2
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 1 Apr 2021 14:43:28 +0000 (16:43 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 19 May 2021 07:51:39 +0000 (09:51 +0200)
commit09f4310c6bfbc0002ce1cf8fc90db50777d75916
tree0584e65e11e216e8a103f517a9d5e14dd900e7d1
parentf8194e5e63fdcb349e8da9eef9e574d5b1d687cb
media: hantro: use G1_REG_INTERRUPT directly for the mpeg2

Use the register directly over the existing SWREG().

Ideally we'll port the driver away from the local registers, but for
now this is enough. For context - I was reading through the IRQ register
handling across the variants.

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c