11 May
2022
11 May
'22
1:32 p.m.
On Wed, May 11, 2022 at 3:58 AM Miaoqian Lin linmq006@gmail.com wrote:
of_find_i2c_device_by_node() takes a reference, In error paths, we should call put_device() to drop the reference to aviod refount leak.
s/aviod refount/avoid refcount
Fixes: 81e8e4926167 ("ASoC: fsl: add sgtl5000 clock support for imx-sgtl5000") Signed-off-by: Miaoqian Lin linmq006@gmail.com
Reviewed-by: Fabio Estevam festevam@gmail.com