mfd: intel-lpss: Program REMAP register in PIO mode
Andy Shevchenko
reviewerPATCH 1/1 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.
--- drivers/mfd/intel-lpss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mfd/intel-lpss.c +2 -2
@@ -275,11 +275,11 @@ static void intel_lpss_init_dev(const struct intel_lpss *lpss)intel_lpss_deassert_reset (lpss); +intel_lpss_set_remap_addr (lpss); +if (!intel_lpss_has_idma (lpss))return ; -intel_lpss_set_remap_addr (lpss); -/* Make sure that SPI multiblock DMA transfers are re-enabled */ if (lpss->type ==LPSS_DEV_SPI )writel (value, lpss->priv +LPSS_PRIV_SSP_REG );
Signature · 1 line
2.17.0
Quoted 8 lines · Andy Shevchenko
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.
Fixes 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSS devices")Cc Mika Westerberg <[email protected]>
Andy Shevchenko
reviewerQuoted 8 lines · Mika Westerberg
Quoted 7 lines · Andy Shevchenko
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.
Quoted 5 lines
Quoted 3 lines
Fixes 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSSdevices")
Cc: Mika Westerberg <[email protected]>Acked-by Mika Westerberg <[email protected]>
Lee, can we have this applied in next rc cycle?
Signature · 2 lines
Andy Shevchenko <[email protected]> Intel Finland Oy
Quoted 9 lines · Andy Shevchenko
Quoted 8 lines · Mika Westerberg
Quoted 7 lines · Andy Shevchenko
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.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Fixes 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSSdevices")
Cc: Mika Westerberg <[email protected]>Acked-by Mika Westerberg <[email protected]>Lee, can we have this applied in next rc cycle?
This has been broken since v4.3.
We'll roll it into v4.18 and tag it for -stable.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Quoted 6 lines · Andy Shevchenko
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.
Quoted 6 lines
Fixes 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSS devices")Cc Mika Westerberg <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- drivers/mfd/intel-lpss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied and tagged for -stable # 4.3+
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Andy Shevchenko
reviewerQuoted 17 lines · Lee Jones
Quoted 7 lines · Andy Shevchenko
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.Quoted 7 lines
Fixes 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSSdevices")
Cc Mika Westerberg <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- drivers/mfd/intel-lpss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 1 line
Applied and tagged for -stable # 4.3+
Thanks!
Though can not see it in Linus' tree still.
Signature · 2 lines
Andy Shevchenko <[email protected]> Intel Finland Oy
Quoted 18 lines · Andy Shevchenko
Quoted 17 lines · Lee Jones
Quoted 14 lines · Andy Shevchenko
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.Fixes 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSSdevices")
Cc Mika Westerberg <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- drivers/mfd/intel-lpss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 5 lines
Quoted 1 line
Applied and tagged for -stable # 4.3+
Thanks!
Though can not see it in Linus' tree still.
Why would it be in Linus' tree?
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog