Message ID | 20221219123229.5564-1-andriy.shevchenko@linux.intel.com |
---|---|
State | Accepted |
Commit | 203a1c3ecae70076e14a652ca44b7ad9302eecd3 |
Headers | show |
Series | [v1,1/1] pinctrl: intel: Use same order of bit fields for PADCFG2 | expand |
On Mon, Dec 19, 2022 at 04:34:35PM +0200, Mika Westerberg wrote: > On Mon, Dec 19, 2022 at 02:32:29PM +0200, Andy Shevchenko wrote: > > PADCFG0 and PADCFG1 are ordered from MSB to LSB, do the same > > for PADCFG2 bit fields. > > Perhaps: > > No functional changes. > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Pushed to my review and testing queue, thanks!
diff --git a/drivers/pinctrl/intel/pinctrl-intel.c b/drivers/pinctrl/intel/pinctrl-intel.c index 5e21b0a96efe..9d2791a81ffa 100644 --- a/drivers/pinctrl/intel/pinctrl-intel.c +++ b/drivers/pinctrl/intel/pinctrl-intel.c @@ -88,9 +88,9 @@ #define PADCFG1_TERM_800 (BIT(2) | BIT(1) | BIT(0)) #define PADCFG2 0x008 -#define PADCFG2_DEBEN BIT(0) #define PADCFG2_DEBOUNCE_SHIFT 1 #define PADCFG2_DEBOUNCE_MASK GENMASK(4, 1) +#define PADCFG2_DEBEN BIT(0) #define DEBOUNCE_PERIOD_NSEC 31250
PADCFG0 and PADCFG1 are ordered from MSB to LSB, do the same for PADCFG2 bit fields. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/pinctrl/intel/pinctrl-intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)