Re: [PATCH] ata: ahci_tegra: Read calibration fuse

From: Thierry Reding
Date: Mon Aug 11 2014 - 09:42:41 EST


On Mon, Aug 11, 2014 at 02:19:13PM +0300, Mikko Perttunen wrote:
> The original version of the driver did not read the SATA calibration
> fuse to remove the dependency to the fuse driver. The fuse driver
> is now merged, so add this functionality.
>
> The calibration fuse contains a 2-bit value used to pick a set
> of calibration values for the SATA pad.
>
> Signed-off-by: Mikko Perttunen <mperttunen@xxxxxxxxxx>
> ---
> drivers/ata/ahci_tegra.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c
> index f1fef74..ad99e0f5 100644
> --- a/drivers/ata/ahci_tegra.c
> +++ b/drivers/ata/ahci_tegra.c
> @@ -26,6 +26,7 @@
> #include <linux/platform_device.h>
> #include <linux/regulator/consumer.h>
> #include <soc/tegra/pmc.h>
> +#include <soc/tegra/fuse.h>

The above should be sorted alphabetically. Also I personally prefer to
visually separate linux/ and soc/ (just like asm/) headers by separating
the lists with empty lines.

Thierry

Attachment: pgp2sEfVMa7N1.pgp
Description: PGP signature