mmc: sdhci: Fix FSL ESDHC reset handling quirk
Please include following patch from Linus' tree in the 3.18 branch. Without it SDHC is unusable on Freescale P2020. Thanks!
commit 556b5f33513f16450e8bb803c82a24377b94a34e
From: Alessio Igor Bogani <[email protected]>
Date: Tue, 9 Dec 2014 09:40:38 +0100
mmc: sdhci: Fix FSL ESDHC reset handling quirk
The commit 0718e59ae259 ("mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code") states that Freescale esdhc is the only controller which needs the interrupt registers restored after a reset. So it moves SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET quirk handling code into the esdhc-imx driver only. Unfortunately the same controller is used in other boards which use the of-esdhc driver instead (like powerpc P2020).
Restore interrupts after reset in the sdhci-of-esdhc driver also.
drivers/mmc/host/sdhci-of-esdhc.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
Quoted 5 lines · Jakub Kicinski
Please include following patch from Linus' tree in the 3.18 branch. Without it SDHC is unusable on Freescale P2020. Thanks!
commit
556b5f33513f16450e8bb803c82a24377b94a34e
I don't see this commit anywhere in Linus's tree. Where did you find it?
thanks,
greg k-h
Quoted 9 lines · Greg KH
Quoted 5 lines · Jakub Kicinski
Please include following patch from Linus' tree in the 3.18 branch. Without it SDHC is unusable on Freescale P2020. Thanks!
commit
556b5f33513f16450e8bb803c82a24377b94a34eI don't see this commit anywhere in Linus's tree. Where did you find it?
Argh, stupidly I sent you the commit id from after I applied this to 3.18... In Linus's tree it's 304f0a98d168, sorry.
commit 304f0a98d168563b5f69c53a7544c36e6d221ac4
Author: Alessio Igor Bogani <[email protected]> Date: Tue Dec 9 09:40:38 2014 +0100
mmc: sdhci: Fix FSL ESDHC reset handling quirk
The commit 0718e59ae259 ("mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code") states that Freescale esdhc is the only controller which needs the interrupt registers restored after a reset. So it moves SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET quirk handling code into the esdhc-imx driver only. Unfortunately the same controller is used in other boards which use the of-esdhc driver instead (like powerpc P2020).
Restore interrupts after reset in the sdhci-of-esdhc driver also.
Quoted 28 lines · Jakub Kicinski
Quoted 9 lines · Greg KH
Quoted 5 lines · Jakub Kicinski
Please include following patch from Linus' tree in the 3.18 branch. Without it SDHC is unusable on Freescale P2020. Thanks!
commit
556b5f33513f16450e8bb803c82a24377b94a34eI don't see this commit anywhere in Linus's tree. Where did you find it?
Argh, stupidly I sent you the commit id from after I applied this to 3.18... In Linus's tree it's
304f0a98d168, sorry.commit
304f0a98d168563b5f69c53a7544c36e6d221ac4Author: Alessio Igor Bogani <[email protected]> Date: Tue Dec 9 09:40:38 2014 +0100mmc: sdhci: Fix FSL ESDHC reset handling quirk
The commit
0718e59ae259("mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code") states that Freescale esdhc is the only controller which needs the interrupt registers restored after a reset. So it movesSDHCI_QUIRK_RESTORE_IRQS_AFTER_RESETquirk handling code into the esdhc-imx driver only. Unfortunately the same controller is used in other boards which use the of-esdhc driver instead (like powerpc P2020).
Quoted 4 lines
Restore interrupts after reset in the sdhci-of-esdhc driver also.
Signed-off-by Alessio Igor Bogani <[email protected]>Signed-off-by Ulf Hansson <[email protected]>
I don't remember tree what you wanted this applied to, so I tried 3.14-stable, and that didn't work. Can you be more specific?
thanks,
greg k-h
Quoted 29 lines · Greg KH
Quoted 28 lines · Jakub Kicinski
Quoted 9 lines · Greg KH
Quoted 5 lines · Jakub Kicinski
Please include following patch from Linus' tree in the 3.18 branch. Without it SDHC is unusable on Freescale P2020. Thanks!
commit
556b5f33513f16450e8bb803c82a24377b94a34eI don't see this commit anywhere in Linus's tree. Where did you find it?
Argh, stupidly I sent you the commit id from after I applied this to 3.18... In Linus's tree it's
304f0a98d168, sorry.commit
304f0a98d168563b5f69c53a7544c36e6d221ac4Author: Alessio Igor Bogani <[email protected]> Date: Tue Dec 9 09:40:38 2014 +0100mmc: sdhci: Fix FSL ESDHC reset handling quirk
The commit
0718e59ae259("mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code") states that Freescale esdhc is the only controller which needs the interrupt registers restored after a reset. So it movesSDHCI_QUIRK_RESTORE_IRQS_AFTER_RESETquirk handling code into the esdhc-imx driver only. Unfortunately the same controller is used in other boards which use the of-esdhc driver instead (like powerpc P2020).
Quoted 8 lines
Quoted 4 lines
Restore interrupts after reset in the sdhci-of-esdhc driver also.
Signed-off-by Alessio Igor Bogani <[email protected]>Signed-off-by Ulf Hansson <[email protected]>I don't remember tree what you wanted this applied to, so I tried 3.14-stable, and that didn't work. Can you be more specific?
OK, let me try again. I would like the following commit to be applied to 3.18:
commit 304f0a98d168563b5f69c53a7544c36e6d221ac4
Author: Alessio Igor Bogani <[email protected]> Date: Tue Dec 9 09:40:38 2014 +0100
mmc: sdhci: Fix FSL ESDHC reset handling quirk
The commit 0718e59ae259 ("mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code") states that Freescale esdhc is the only controller which needs the interrupt registers restored after a reset. So it moves SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET quirk handling code into the esdhc-imx driver only. Unfortunately the same controller is used in other boards which use the of-esdhc driver instead (like powerpc P2020).
Restore interrupts after reset in the sdhci-of-esdhc driver also.
Thanks!
Quoted 56 lines · Jakub Kicinski
Quoted 29 lines · Greg KH
Quoted 28 lines · Jakub Kicinski
Quoted 9 lines · Greg KH
Quoted 5 lines · Jakub Kicinski
Please include following patch from Linus' tree in the 3.18 branch. Without it SDHC is unusable on Freescale P2020. Thanks!
commit
556b5f33513f16450e8bb803c82a24377b94a34eI don't see this commit anywhere in Linus's tree. Where did you find it?
Argh, stupidly I sent you the commit id from after I applied this to 3.18... In Linus's tree it's
304f0a98d168, sorry.commit
304f0a98d168563b5f69c53a7544c36e6d221ac4Author: Alessio Igor Bogani <[email protected]> Date: Tue Dec 9 09:40:38 2014 +0100mmc: sdhci: Fix FSL ESDHC reset handling quirk
The commit
0718e59ae259("mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code") states that Freescale esdhc is the only controller which needs the interrupt registers restored after a reset. So it movesSDHCI_QUIRK_RESTORE_IRQS_AFTER_RESETquirk handling code into the esdhc-imx driver only. Unfortunately the same controller is used in other boards which use the of-esdhc driver instead (like powerpc P2020).Quoted 8 lines
Quoted 4 lines
Restore interrupts after reset in the sdhci-of-esdhc driver also.
Signed-off-by Alessio Igor Bogani <[email protected]>Signed-off-by Ulf Hansson <[email protected]>I don't remember tree what you wanted this applied to, so I tried 3.14-stable, and that didn't work. Can you be more specific?
OK, let me try again. I would like the following commit to be applied to 3.18:
commit
304f0a98d168563b5f69c53a7544c36e6d221ac4Author: Alessio Igor Bogani <[email protected]> Date: Tue Dec 9 09:40:38 2014 +0100mmc: sdhci: Fix FSL ESDHC reset handling quirk
The commit
0718e59ae259("mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code") states that Freescale esdhc is the only controller which needs the interrupt registers restored after a reset. So it movesSDHCI_QUIRK_RESTORE_IRQS_AFTER_RESETquirk handling code into the esdhc-imx driver only. Unfortunately the same controller is used in other boards which use the of-esdhc driver instead (like powerpc P2020).
Quoted 5 lines
Restore interrupts after reset in the sdhci-of-esdhc driver also.
Signed-off-by Alessio Igor Bogani <[email protected]>Signed-off-by Ulf Hansson <[email protected]>
As I don't maintain 3.18, nothing I can do here, great! :)
Quoted 3 lines · Jakub Kicinski
Please include following patch from Linus' tree in the 3.18 branch. Without it SDHC is unusable on Freescale P2020. Thanks!
It looks like this fix is also applicable to the 3.16 kernel. I'll queue it for the next release.
Cheers,
--
Lu�s
Quoted 25 lines
commit
556b5f33513f16450e8bb803c82a24377b94a34e
From: Alessio Igor Bogani <[email protected]>
Date: Tue, 9 Dec 2014 09:40:38 +0100mmc: sdhci: Fix FSL ESDHC reset handling quirk
The commit
0718e59ae259("mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code") states that Freescale esdhc is the only controller which needs the interrupt registers restored after a reset. So it movesSDHCI_QUIRK_RESTORE_IRQS_AFTER_RESETquirk handling code into the esdhc-imx driver only. Unfortunately the same controller is used in other boards which use the of-esdhc driver instead (like powerpc P2020).Restore interrupts after reset in the sdhci-of-esdhc driver also.
Signed-off-by Alessio Igor Bogani <[email protected]>Signed-off-by Ulf Hansson <[email protected]>drivers/mmc/host/sdhci-of-esdhc.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)--
To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html