mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
When pdata->reset_pin is passed with a negative value (means gpio is invalid), then chip->reset_pin will not be assigned to a vaule, it will use default value 0. This will cause unexpected behavior. So, add this patch to correct. Signed-off-by: Bo Shen <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>