mfd: intel-lpss: Correct names of RESETS register bits
Andy Shevchenko
reviewerPATCH 1/1 mfd: intel-lpss: Correct names of RESETS register bits
According to documentation the function has 2 bits for reset while iDMA 64-bit has only one.
Rename it accordingly. Note, there is no functional change since we always handle them together.
--- drivers/mfd/intel-lpss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mfd/intel-lpss.c +2 -2
@@ -40,8 +40,8 @@/* Offsets from lpss->priv */ #define LPSS_PRIV_RESETS 0x04 -#define LPSS_PRIV_RESETS_FUNC BIT(2) -#define LPSS_PRIV_RESETS_IDMA 0x3 +#define LPSS_PRIV_RESETS_IDMA BIT(2) +#define LPSS_PRIV_RESETS_FUNC 0x3#define LPSS_PRIV_ACTIVELTR 0x10#define LPSS_PRIV_IDLELTR 0x14
Signature · 1 line
2.17.0
Quoted 7 lines · Andy Shevchenko
According to documentation the function has 2 bits for reset while iDMA 64-bit has only one.
Rename it accordingly. Note, there is no functional change since we always handle them together.
Signed-off-by Andy Shevchenko <[email protected]>
Andy Shevchenko
reviewerQuoted 10 lines · Mika Westerberg
Quoted 7 lines · Andy Shevchenko
According to documentation the function has 2 bits for reset while iDMA 64-bit has only one.
Rename it accordingly. Note, there is no functional change since we always handle them together.
Signed-off-by Andy Shevchenko <[email protected]>Acked-by Mika Westerberg <[email protected]>
Thanks, Mika!
Lee, anything about this one? (it's not stable material, though I don't see it in linux-next)
Signature · 2 lines
Andy Shevchenko <[email protected]> Intel Finland Oy
Lee Jones
AppliedQuoted 10 lines · Andy Shevchenko
According to documentation the function has 2 bits for reset while iDMA 64-bit has only one.
Rename it accordingly. Note, there is no functional change since we always handle them together.
Signed-off-by Andy Shevchenko <[email protected]>--- drivers/mfd/intel-lpss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog