Re: [PATCH 2/3] mmc: Export ios settings for a host through debugfs
From: Haavard Skinnemoen
Date: Sat Jun 28 2008 - 13:03:27 EST
On Sat, 28 Jun 2008 09:43:43 -0700
Greg KH <greg@xxxxxxxxx> wrote:
> > sh-3.2# rmmod atmel-mci < /sys/kernel/debug/mmc0/ios/clock
> > mmc0: card b368 removed
> > atmel_mci atmel_mci.0: Lost dma0chan1, falling back to PIO
> > sh-3.2# ls /sys/kernel/debug/mmc0/
> > ios
> >
> > But I'm not sure if that case can be handled in any sane manner.
>
> I think we have always been failing this case as I know securityfs also
> has this same issue, and the code base is pretty much identical.
>
> So don't worry that this patch caused this issue.
Yeah, I'm pretty sure this issue was there before too, when the driver
kept track of things. I just never tested it.
The main reason I tested it now was to make sure it didn't hang, and it
didn't.
> I'll queue it up unless there are any other objections to it.
Thanks.
Haavard
--
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/