Re: [RFT][PATCH v3] mmc: change cb710-mmc platform power management to use dev_pm_ops

2014-02-14 Thread Ulf Hansson
On 13 February 2014 14:49, Shuah Khan shuah...@samsung.com wrote: On 02/13/2014 02:47 AM, Ulf Hansson wrote: On 12 February 2014 22:21, Shuah Khan shuah...@samsung.com wrote: Change cb710-mmc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops. The existing legacy

Re: [RFT][PATCH v3] mmc: change cb710-mmc platform power management to use dev_pm_ops

2014-02-13 Thread Ulf Hansson
On 12 February 2014 22:21, Shuah Khan shuah...@samsung.com wrote: Change cb710-mmc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops. The existing legacy suspend/resume routines are identical and simply clear IRQ mask in the device in case it got undefined during

Re: [RFT][PATCH v3] mmc: change cb710-mmc platform power management to use dev_pm_ops

2014-02-13 Thread Shuah Khan
On 02/13/2014 02:47 AM, Ulf Hansson wrote: On 12 February 2014 22:21, Shuah Khan shuah...@samsung.com wrote: Change cb710-mmc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops. The existing legacy suspend/resume routines are identical and simply clear IRQ mask in the

[RFT][PATCH v3] mmc: change cb710-mmc platform power management to use dev_pm_ops

2014-02-12 Thread Shuah Khan
Change cb710-mmc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops. The existing legacy suspend/resume routines are identical and simply clear IRQ mask in the device in case it got undefined during sleep state. Changed code to collapse suspend and resume into one .pm