mfd: intel-lpss: Program REMAP register in PIO mode
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Apr 2018 15:00:10 +0000 (18:00 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 May 2018 08:11:22 +0000 (09:11 +0100)
commitd28b62520830b2d0bffa2d98e81afc9f5e537e8b
treed52ef7c40108217aa6be9127a32704df00d67894
parent704800dd3fe6e5bfc52773081acedc62860e508f
mfd: intel-lpss: Program REMAP register in PIO mode

According to documentation REMAP register has to be programmed in
either DMA or PIO mode of the slice.

Move the DMA capability check below to let REMAP register be programmed
in PIO mode.

Cc: stable@vger.kernel.org # 4.3+
Fixes: 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSS devices")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel-lpss.c