diff --git a/sound/soc/rockchip/rockchip_multicodecs.c b/sound/soc/rockchip/rockchip_multicodecs.c index 4529c3cb5b39f..c5bbb76782071 100644 --- a/sound/soc/rockchip/rockchip_multicodecs.c +++ b/sound/soc/rockchip/rockchip_multicodecs.c @@ -629,7 +629,8 @@ static int rk_multicodecs_probe(struct platform_device *pdev) card->controls = mc_controls; card->num_controls = ARRAY_SIZE(mc_controls); card->num_aux_devs = 0; - + card->owner = THIS_MODULE; + count = of_count_phandle_with_args(np, "rockchip,codec", NULL); if (count < 0) return -EINVAL;