[PATCH 1/2] ASoC: fsl_rpmsg: add soc specific data structure
Shengjiu Wang
shengjiu.wang at gmail.com
Fri Aug 27 08:14:29 CEST 2021
On Thu, Aug 26, 2021 at 7:54 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Shengjiu,
>
> On Thu, Aug 26, 2021 at 8:19 AM Shengjiu Wang <shengjiu.wang at nxp.com> wrote:
>
> > + rpmsg->soc_data = of_device_get_match_data(&pdev->dev);
> > + if (rpmsg->soc_data) {
>
> This check is not necessary, because rpmsg->soc_data is always non-NULL.
>
> Other than that:
>
> Reviewed-by: Fabio Estevam <festevam at gmail.com>
Thanks, I will update in v2.
Best regards
wang shengjiu
More information about the Alsa-devel
mailing list