On Wed, May 11, 2022 at 3:58 AM Miaoqian Lin <linmq006@xxxxxxxxx> 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@xxxxxxxxx> Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>