Re: [PATCH v4 04/15] mmc: sdhci: keep the saved clock var up to date

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

 



On Wed, Sep 26, 2012 at 7:38 PM, Kevin Liu <keyuan.liu@xxxxxxxxx> wrote:
> From: Kevin Liu <kliu5@xxxxxxxxxxx>
>
> The clock rate set to the sdh controller may not exactly as requested
> by the mmc core, this patch make the clock rate saved in the mmc_ios
> and sdhci_host updated with the actual setting as in the controller. Thus
> "/sys/kernel/debug/mmcx/ios" and card detect prints can show the correct
> clock rate.

The patch may not required if only updating debugfs, since
actual_clock already been considered in debugfs.
However, does incorrect ios->clock cause unexpected result, such as powerclass.
If so, how about directly correct ios->clock, and remove actual_clock at all?

/Zhangfei
--
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