Re: [PATCH] pinctl: ti: iodelay: fix error checking on pinctrl_count_index_with_args call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Colin King <colin.king@xxxxxxxxxxxxx> [190920 12:21]:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> The call to pinctrl_count_index_with_args checks for a -EINVAL return
> however this function calls pinctrl_get_list_and_count and this can
> return -ENOENT. Rather than check for a specific error, fix this by
> checking for any error return to catch the -ENOENT case.

Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux