Re: [FIXME] Comments on serial and MMC changes in MIPS merge

From: Pierre Ossman
Date: Sun Oct 30 2005 - 06:00:44 EST


Russell King wrote:
> Some comments on the recent MIPS merge:
>
> 1. au1xxx mmc driver
>
> mmc_remove_host() does a safe shutdown of the MMC host, removing
> cards and then powering down. This must be called prior to the
> driver thinking of tearing anything down.
>
> As for those disable_irq()...enable_irq(), are you aware that MMC
> can start talking to the host as soon as you've called mmc_add_host() ?
>

I'm also concerned about the ammount of protocol awareness in this
driver. Is there a spec available for this hardware? Perhaps the MMC
layer can export more information so that we can avoid switches on
specific MMC commands?

Rgds
Pierre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/