Re: [PATCH 08/11] sdhci: Add support for hosts that don't specifyclocks in the cap. register

From: Pierre Ossman
Date: Sun Feb 08 2009 - 16:04:57 EST


On Fri, 6 Feb 2009 21:06:57 +0300
Anton Vorontsov <avorontsov@xxxxxxxxxxxxx> wrote:

> FSL eSDHC hosts don't provide clocks bits in the capabilities register,
> instead we're getting clocks values from the device tree.
>
> There is somewhat similar change[1] from Ben Dooks, the change adds
> callbacks for getting the clocks. But for eSDHC the callbacks are
> superfluous, since the clocks are static.
>
> [1] http://lkml.org/lkml/2008/12/2/157
>
> Signed-off-by: Anton Vorontsov <avorontsov@xxxxxxxxxxxxx>
> ---

As I told Ben, I prefer if we stick to the standard as much as
possible. So no external info unless the register is set to zero.

And since we know the Samsung chip needs callbacks, we might as well
add them here. It's not like this is a performance critical path.

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.

Attachment: signature.asc
Description: PGP signature