Re: [PATCH v7 0/3] mmc: core: hw_reset changes

2015-01-13 Thread Johan Rudholm
2015-01-13 9:19 GMT+01:00 Ulf Hansson : > On 12 January 2015 at 16:11, Ulf Hansson wrote: >> On 12 January 2015 at 15:38, Johan Rudholm wrote: >>> Make the mmc_hw_reset routine more generic, by putting the (e)MMC- >>> specific stuff in the new bus_ops->reset in mmc.c. Add a >>> bus_ops->reset for

Re: [PATCH v7 0/3] mmc: core: hw_reset changes

2015-01-13 Thread Ulf Hansson
On 12 January 2015 at 16:11, Ulf Hansson wrote: > On 12 January 2015 at 15:38, Johan Rudholm wrote: >> Make the mmc_hw_reset routine more generic, by putting the (e)MMC- >> specific stuff in the new bus_ops->reset in mmc.c. Add a >> bus_ops->reset for SD cards, allowing them to be restarted when

Re: [PATCH v7 0/3] mmc: core: hw_reset changes

2015-01-12 Thread Ulf Hansson
On 12 January 2015 at 15:38, Johan Rudholm wrote: > Make the mmc_hw_reset routine more generic, by putting the (e)MMC- > specific stuff in the new bus_ops->reset in mmc.c. Add a > bus_ops->reset for SD cards, allowing them to be restarted when > errors occur. > > For MMC cards, always check if the

[PATCH v7 0/3] mmc: core: hw_reset changes

2015-01-12 Thread Johan Rudholm
Make the mmc_hw_reset routine more generic, by putting the (e)MMC- specific stuff in the new bus_ops->reset in mmc.c. Add a bus_ops->reset for SD cards, allowing them to be restarted when errors occur. For MMC cards, always check if the reset was sucessful. This allows us to remove the mmc_hw_rese