video/rockchip: mpp: fix reg_id to int from u32

VPU without hardware id register will be set with -1 for reg_id,
so fix the reg_id from u32 to int.

Change-Id: Ic3cf15f223610428f77fd5e3291e74974a2a7981
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
Jianqun Xu
2020-03-11 09:03:37 +08:00
parent a0bff8819f
commit 79d804defc

View File

@@ -128,7 +128,7 @@ struct mpp_hw_info {
/* register number */
u32 reg_num;
/* hardware id */
u32 reg_id;
int reg_id;
u32 hw_id;
/* start index of register */
u32 reg_start;