OSDN Git Service

mfd: intel-lpss: Correct names of RESETS register bits
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Apr 2018 15:05:12 +0000 (18:05 +0300)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Jun 2018 05:48:22 +0000 (06:48 +0100)
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 <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel-lpss.c

index 4bcf117..50bffc3 100644 (file)
@@ -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