On Wed, May 11, 2011 at 10:53:37PM +0200, Antonio Ospite wrote:
> OK, avoiding some duplication will be good, I agree.
> I am resending a v4 with the equivalent code:
>
> if (host->vcc) {
> int ret;
>
> if (power_mode == MMC_POWER_OFF)
> vdd = 0;
>
This isn't really what I meant - what I meant was that all this logic
looks like it's generic to multiple drivers. We either set a regulator
or call a pdata callback to set power, both of which are completely
external to the controller.
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general