Re: [PATCH RESEND] mmc: Delay the card_event callback into the mmc_rescan worker

2014-04-14 Thread Ulf Hansson
On 9 April 2014 00:19, Markus Mayer wrote: > This change removes the callback from atomic context which it doesn't > need to be in, and puts it in line with the debounced rescan. > > This code is based on these e-mail threads with Christian Daudt: > > https://lkml.org/lkml/2013/8/19/539 > http

Re: [PATCH RESEND] mmc: Delay the card_event callback into the mmc_rescan worker

2014-04-11 Thread Markus Mayer
On 9 April 2014 01:56, Ulf Hansson wrote: >> diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c >> index 098374b..ff7fd2e 100644 >> --- a/drivers/mmc/core/core.c >> +++ b/drivers/mmc/core/core.c >> @@ -2421,6 +2421,11 @@ void mmc_rescan(struct work_struct *work) >> con

Re: [PATCH RESEND] mmc: Delay the card_event callback into the mmc_rescan worker

2014-04-09 Thread Ulf Hansson
On 9 April 2014 00:19, Markus Mayer wrote: > This change removes the callback from atomic context which it doesn't > need to be in, and puts it in line with the debounced rescan. > > This code is based on these e-mail threads with Christian Daudt: > > https://lkml.org/lkml/2013/8/19/539 > http