Re: [PATCH 4/4] mmc: add sdhci-tegra driver for Tegra SoCs

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

 



On Wed, Dec 15, 2010 at 02:43:07AM -0600, Olof Johansson wrote:
> Hi,
> 
> On Wed, Dec 15, 2010 at 09:35:46AM +0100, Wolfram Sang wrote:
> 
> > Can't you just use sdhci-pltfm?
> 
> Not if I want to hide some of the SoC-specific errata with driver-local
> workarounds instead of polluting the global quirk namespace with them.
> 
> Otherwise, yeah, it'd be a good candidate for it.

Hm, on second look, it seems as if the -pltfm can take the ops structure
from the platform data.

Still, I don't see the point -- the amount of code would be about the
same between wrapping it with a coat of workarounds and op structures,
gpio setup, etc, and just doing a separate simple driver. The code shared
is really just the resource allocation pieces.


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