Re: [PATCH 3/7] ASoC: cs42l43: Check error from device_property_read_u32_array

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



On Wed, Jan 24, 2024 at 6:56 PM Charles Keepax
<ckeepax@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Whilst reading cirrus,buttons-ohms the error from
> device_property_read_u32_array is not checked, whilst there is a

..._array()

> preceding device_property_count_u32 which is checked the property read

..._u32()

> can still fail. Add the missing check.

Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux