[PATCH v7 3/5] misc: fuse: Add efuse driver for Tegra

Mikko Perttunen mperttunen at nvidia.com
Wed Jun 11 05:47:31 PDT 2014


On 05/06/14 16:09, Peter De Schrijver wrote:
...
> +int tegra_fuse_readl(u32 offset, u32 *val)
> +{
> +       if (!fuse_readl)
> +               return -ENXIO;
> +
> +       *val = fuse_readl(offset);
> +
> +       return 0;
> +}
> +

-EPROBE_DEFER would be a better error value, so that drivers can work 
even if they are initially probed before the fuse driver. Of course, if 
the fuse initialization is moved into machine init then this is a non-issue.



More information about the linux-arm-kernel mailing list