Re: [PATCH 1/2] dw_mmc: Run card detect tasklet during slot initialisation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 4 Feb 2011 11:17:54 +0000
Will Newton <will.newton@xxxxxxxxx> wrote:

> We need to run the card detect tasklet at the end of slot
> initialisation as it is possible that a card has been inserted prior
> to boot, so we miss the insertion interrupt and now the card is
> sitting there inserted but with no power to it.

So when powering up the board with a card already inserted, an interrupt
isn't generated? If that's the case then we haven't "missed" an
interrupt as one was never generated, right?

If the answer to the above questions is "yes", then you can add my
Reviewed-by (though it might be worth changing the bit about missing
an interrupt in the commit message). Otherwise, I would have expected
the usual interrupt machinery to take care of detecting the inserted
card?
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux