Re: [PATCH v5 2/2] leds: lm3601x: Introduce the lm3601x LED driver

From: Pavel Machek
Date: Mon May 14 2018 - 16:05:14 EST


> > OK.
> OK I looked at the max776973 driver and well if the flash-max-microamp and
> flash-max-timeout-us nodes are missing it sets a default value for each if the
> node is not present.
> So should we remove this code from the Max77693 driver too and fail probe as being asked
> in this driver?

Well, modifying driver without access to the hardware is tricky
:-(. If it does something stupid (like using other than minimum values
for the flash-max-microamp/flash-max-timeout-us), it needs to be

And maybe comment "don't copy this, its wrong" would be in order...

Best regards,
(cesky, pictures)

Attachment: signature.asc
Description: Digital signature