]> git.itanic.dy.fi Git - linux-stable/commit
media: mediatek: vcodec: Define address for VDEC_HW_ACTIVE
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Fri, 30 Jun 2023 15:14:10 +0000 (11:14 -0400)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 25 Jul 2023 07:44:26 +0000 (09:44 +0200)
commitc33262171252d355f9c962d603425d445a24ac4c
tree277f093cd615f1b52630c4d1456074ae7c7870b4
parent5ee1b02a397f0f22de4ee9f1fc603ad5bd86e024
media: mediatek: vcodec: Define address for VDEC_HW_ACTIVE

The VDEC_HW_ACTIVE bit is located at offset 0, bit 4 of the VDECSYS
iospace. Only the mask was previously defined, with the address being
implicit. Explicitly define the address, and append a '_MASK' suffix to
the mask, to make accesses to this bit clearer.

This commit brings no functional change.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.h