Re: working around a Marvell wifi SDIO bug

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

 



On Tue, 7 Dec 2010, Philip Rakity wrote:

> 
> On Dec 5, 2010, at 6:15 AM, Ohad Ben-Cohen wrote:
> 
> > That would obviously work but as you and Nicolas mentioned it's an
> > overkill: we don't really need random users to plug into this hook,
> > and using notifiers will just make the code less readable and harder
> > to debug, so it's better to try to find a solution that fits.
> 
> Would a solution toggling the  gpio line for power/reset work when doing a RESET_ALL or
> when power moves to off ?  This code could then be in the driver specific section where
> this might make more sense.

The problem is to find a good enough abstraction to keep the driver 
generic without cluttering it with platform specific implementation 
details such as which GPIO (if at all) should be flipped to reset the 
card.  Hence the idea to (ab)use the already existing regulator 
framework which can accommodate and abstract such details away quite 
nicely.


Nicolas
--
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