Thread (8 messages) 8 messages, 3 authors, 2012-03-26

Occasional crashes in suspend-resume with MMC transactions

From: Bedia, Vaibhav <hidden>
Date: 2012-03-22 14:43:16
Also in: linux-mmc, linux-omap

On Thu, Mar 22, 2012 at 19:57:16, S, Venkatraman wrote:
[...]
I see (in 3.3) that the host controller driver does a "return ret" and
that means the errors is propagated.
Where is the return code lost /overridden ?
The return code gets overridden due to the call to host->pdata->resume()
which always returns 0.

static int omap_hsmmc_resume_cdirq(struct device *dev, int slot)
{
        struct omap_mmc_platform_data *mmc = dev->platform_data;

        enable_irq(mmc->slots[0].card_detect_irq);
        return 0;
}

Regards,
Vaibhav
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help