mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user