From f45e756958099c35d6afb746df1d40a1c6302cfc Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 07 Nov 2023 06:20:23 +0000 Subject: [PATCH] enable wifi gpio --- kernel/sound/soc/rockchip/rockchip_hdmi.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/kernel/sound/soc/rockchip/rockchip_hdmi.c b/kernel/sound/soc/rockchip/rockchip_hdmi.c index 69ff54c..3315407 100644 --- a/kernel/sound/soc/rockchip/rockchip_hdmi.c +++ b/kernel/sound/soc/rockchip/rockchip_hdmi.c @@ -213,6 +213,9 @@ codecs = devm_kcalloc(&pdev->dev, idx, sizeof(*codecs), GFP_KERNEL); + if (!codecs) + return -ENOMEM; + rk_data->dai.codecs = codecs; rk_data->dai.num_codecs = idx; idx = 0; -- Gitblit v1.6.2