[PATCH V2] mmc: Enable the ADMA on esdhc imx driver
Pavel Machek
pma at sysgo.com
Thu Jun 16 08:06:29 EDT 2011
On Thu 2011-06-16 14:00:09, Wolfram Sang wrote:
>
> > Unfortunately register differences are common. Is there better
> > approach than patching it in low level functions like this?
>
> I am all ears for suggestions...
One way would be to move functions such as
sdhci_activate_led()
to the low level driver, and introduce functions such as
write_host_control() -- with no corresponding read_host_control, so
that translation is easy to do...
Pavel
More information about the linux-arm-kernel
mailing list