Re: [PATCH v5 0/5] efuse driver for Tegra

From: Stephen Warren
Date: Thu May 29 2014 - 15:01:34 EST


On 05/28/2014 06:54 AM, Peter De Schrijver wrote:
> This driver allows userspace to read the raw efuse data. Its userspace
> interface is modelled after the sunxi_sid driver which provides similar
> functionality for some Allwinner SoCs. It has been tested on
> Tegra20 (ventana), Tegra30 (beaverboard), Tegra114 (dalmore) and
> Tegra124 (jetson TK1).

> Changes since v4:
>
> * Provide fallback to hardcoded 0x70000800 in case the apbmisc DT node is
> missing. This is exactly what the current code does and prevents a system
> crash in that case due to an invalid memory access by tegra_read_chipid()

Wouldn't it be better to simply return an error?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/