[PATCH v2] mtd: devices: elm: check for device's presence before configuration
Philip, Avinash
avinashphilip at ti.com
Tue Mar 5 05:26:41 EST 2013
On Tue, Mar 05, 2013 at 15:54:16, Daniel Mack wrote:
> On 04.03.2013 08:47, Peter Korsgaard wrote:
> >>>>>> "Daniel" == Daniel Mack <zonque at gmail.com> writes:
> >
> > Daniel> In case the driver is not probed - due to config mismatches or errors
> > Daniel> in the DTS files - dev_get_drvdata() returns NULL, leading to an Ooops
> > Daniel> during boot.
> >
> > Daniel> Make elm_config() return an error in such cases to propagate the error
> > Daniel> up to the user, so it can fall back to software mode.
> >
> > Daniel> Signed-off-by: Daniel Mack <zonque at gmail.com>
> > Daniel> Cc: Philip Avinash <avinashphilip at ti.com>
> > Daniel> Cc: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
> > Daniel> Cc: Peter Korsgaard <jacmet at sunsite.dk>
> >
> > Acked-by: Peter Korsgaard <jacmet at sunsite.dk>
>
> Philip, are you also ok with this?
Yes.
Thanks
Avinash
>
>
> Thanks,
> Daniel
>
>
More information about the linux-mtd
mailing list