Re: [PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread Ziyuan
On 01/05/2017 09:29 AM, Jaehoon Chung wrote: On 01/05/2017 01:04 AM, ayaka wrote: On 01/04/2017 08:51 PM, Ziyuan Xu wrote: Immediately after reset, issue the command which sets update_clock_register_only bit, the card clock will restart. Revise dw_mci_ctrl_reset to dw_mci_reset, which has

Re: [PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread Ziyuan
On 01/05/2017 09:29 AM, Jaehoon Chung wrote: On 01/05/2017 01:04 AM, ayaka wrote: On 01/04/2017 08:51 PM, Ziyuan Xu wrote: Immediately after reset, issue the command which sets update_clock_register_only bit, the card clock will restart. Revise dw_mci_ctrl_reset to dw_mci_reset, which has

Re: [PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread Jaehoon Chung
On 01/05/2017 01:04 AM, ayaka wrote: > > > On 01/04/2017 08:51 PM, Ziyuan Xu wrote: >> Immediately after reset, issue the command which sets >> update_clock_register_only bit, the card clock will restart. Revise >> dw_mci_ctrl_reset to dw_mci_reset, which has wrapped this sequence. >> >> The

Re: [PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread Jaehoon Chung
On 01/05/2017 01:04 AM, ayaka wrote: > > > On 01/04/2017 08:51 PM, Ziyuan Xu wrote: >> Immediately after reset, issue the command which sets >> update_clock_register_only bit, the card clock will restart. Revise >> dw_mci_ctrl_reset to dw_mci_reset, which has wrapped this sequence. >> >> The

Re: [PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread Jaehoon Chung
Hi, On 01/04/2017 09:51 PM, Ziyuan Xu wrote: > Immediately after reset, issue the command which sets > update_clock_register_only bit, the card clock will restart. Revise > dw_mci_ctrl_reset to dw_mci_reset, which has wrapped this sequence. > > The patch fixes commit e9ed8835e990 ("mmc: dw_mmc:

Re: [PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread Jaehoon Chung
Hi, On 01/04/2017 09:51 PM, Ziyuan Xu wrote: > Immediately after reset, issue the command which sets > update_clock_register_only bit, the card clock will restart. Revise > dw_mci_ctrl_reset to dw_mci_reset, which has wrapped this sequence. > > The patch fixes commit e9ed8835e990 ("mmc: dw_mmc:

Re: [PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread ayaka
On 01/04/2017 08:51 PM, Ziyuan Xu wrote: Immediately after reset, issue the command which sets update_clock_register_only bit, the card clock will restart. Revise dw_mci_ctrl_reset to dw_mci_reset, which has wrapped this sequence. The patch fixes commit e9ed8835e990 ("mmc: dw_mmc: add runtime

Re: [PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread ayaka
On 01/04/2017 08:51 PM, Ziyuan Xu wrote: Immediately after reset, issue the command which sets update_clock_register_only bit, the card clock will restart. Revise dw_mci_ctrl_reset to dw_mci_reset, which has wrapped this sequence. The patch fixes commit e9ed8835e990 ("mmc: dw_mmc: add runtime

[PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread Ziyuan Xu
Immediately after reset, issue the command which sets update_clock_register_only bit, the card clock will restart. Revise dw_mci_ctrl_reset to dw_mci_reset, which has wrapped this sequence. The patch fixes commit e9ed8835e990 ("mmc: dw_mmc: add runtime PM callback"). MMC_PM_KEEP_POWEP is disabled

[PATCH v2] mmc: dw_mmc: revise the reset path in runtime resume

2017-01-04 Thread Ziyuan Xu
Immediately after reset, issue the command which sets update_clock_register_only bit, the card clock will restart. Revise dw_mci_ctrl_reset to dw_mci_reset, which has wrapped this sequence. The patch fixes commit e9ed8835e990 ("mmc: dw_mmc: add runtime PM callback"). MMC_PM_KEEP_POWEP is disabled