[PATCH 09/11] sdhci: Add set_clock callback
Pierre Ossman
drzeus at drzeus.cx
Mon Feb 9 08:06:47 EST 2009
On Fri, 6 Feb 2009 21:06:59 +0300
Anton Vorontsov <avorontsov at ru.mvista.com> wrote:
> FSL eSDHC hosts have incompatible register map to manage the SDCLK.
> This patch adds set_clock callback so that drivers could overwrite
> set_clock behaviour.
>
> Similar patch[1] was posted by Ben Dooks, though in Ben's version the
> callback is named change_clock, plus the patch has some unrelated bits
> that makes the patch difficult to reuse.
>
> [1] http://lkml.org/lkml/2008/12/2/160
>
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
> ---
A set_clock() callback is reasonable as there might be a clock source
that needs to be set up, but completely overriding the normal routine
(i.e. the "return") should be quirked IMO.
Rgds
--
-- Pierre Ossman
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090208/2605581d/attachment.pgp>
More information about the Linuxppc-dev
mailing list