pinctrl: rockchip: fix RK_GENMASK_VAL error
Change-Id: I48daafd57c96dcd2a0a8560d649daa7cb08dd4e7 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
parent
fa9880d0ec
commit
cef897f0d4
|
|
@ -33,8 +33,8 @@ enum rockchip_pinctrl_type {
|
||||||
RK3399,
|
RK3399,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define RK_GENMASK_VAL(l, h, v) \
|
#define RK_GENMASK_VAL(h, l, v) \
|
||||||
(GENMASK((h) + 16, (l) + 16) | (((v) << (l) & GENMASK(h, l))))
|
(GENMASK(((h) + 16), ((l) + 16)) | (((v) << (l)) & GENMASK((h), (l))))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encode variants of iomux registers into a type variable
|
* Encode variants of iomux registers into a type variable
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue