Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1045331pxb; Thu, 26 Aug 2021 23:16:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWzRHCqeA1k8qUHuQxDajzSdkV2lZnXv7wocmv4p7nNqLvHXSMcYWLYA7eRbOP/FWgnxzV X-Received: by 2002:aa7:c857:: with SMTP id g23mr8253871edt.219.1630045000186; Thu, 26 Aug 2021 23:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630045000; cv=none; d=google.com; s=arc-20160816; b=mrfM6OZ2w2bUmAtpcloIOwgfa6WDULEFWvJ7mEAgsOlDmruQi5dyvTM+SFa34H9vr3 5bf64ov7ZjuEJMCbEUjMRuWsWdI625jnpjZZ7JSeJ+2Lin25/Gs/p3uG3TgzousNXrmA ykAyIu3f2fg9Biy4mg2siT3MiqdFqeZaBAAkm8bGHJHUVqirTyHR5ugYmjzJNQLegKyd bdPbxnsVablG1pXKlgvLznrJj9JFr22nLKs1dBsFgPUM5HXqgSATLRvPaKQCLdl6V92i /STdcuGB0EBNu6EE4Hct2h5tsXpUvlWvXCWy7VsQJ5R0fAZm+fvUQ43pd5u+WClRejRz wNDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=J6wH6VQ81UagFZrBDuQfg5acAy2kFwSXlQ1BsRDUlyk=; b=mJAXgV/mPfpSU5unIjTXdQVn93KxMs4uNw8GBYrsu7ZSp8mIsjfjsYxo30Pv/vIS5s 4aTxJPWpLV+ALaKMbx5jkaP551/ArIW5DXKjsNmFo9Ac/t44yQjD5xe7M+7SdkE3D3Aa JDD6nROOeyTYBVo5W2+xHz0v2gHb/1TrvCwb2BafWX9IpQJ8hX4tyftK/Oi/JUetyqXP JyvWSkiDKfzA9B9l0m/vGAIt23+APd4tvrlHzzluxYrV9VuRtUaUEzlvNjvBFSvyR6AK XBKfZe1GAZ4srnOB4OM5qWSUk33eX39gD1EHv9MBZQEK8Wkf5wZSqHTKBKhk/ZrMKaw9 vcCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NHZ1G+5i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si1252480ejw.358.2021.08.26.23.16.14; Thu, 26 Aug 2021 23:16:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NHZ1G+5i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244194AbhH0GPc (ORCPT + 99 others); Fri, 27 Aug 2021 02:15:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbhH0GP3 (ORCPT ); Fri, 27 Aug 2021 02:15:29 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 105B4C061757 for ; Thu, 26 Aug 2021 23:14:41 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id d2so4546271qto.6 for ; Thu, 26 Aug 2021 23:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J6wH6VQ81UagFZrBDuQfg5acAy2kFwSXlQ1BsRDUlyk=; b=NHZ1G+5iMYP+XgOXH5UWH9rl5MgrCTsw24zUz0jzVVBz+Xmrufgkm+tVgv6ucD2UWG S74VU3T8byNcrBZ2G9VlqPDsKNIlVcW/r7j+CkdQxc+++4BXjItHwYo0t3ILCKB/wnAp CEKmr9AqAKKl9+MtHquG8IriOb8ywV+JJXsBmM4iUSnhM+hUfB9rj8osl8FsghWTCPB0 Ed0v7eB71ig5k51ZQTX8nfHtVuy+Qq6tE+lYQcDGYTg2vpU35rphOC1jKOIDR2H4eiDT x2wJV28v4xylCa/M7SwI2380goxX5k+D7RH3VvD14mxt3AKl2gBkdxxTn6eiGYI3K//B 0PEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J6wH6VQ81UagFZrBDuQfg5acAy2kFwSXlQ1BsRDUlyk=; b=fYjHXi2fi9xDnASlsOeqSQUr+HiV0f/TDduAyl4BhuBVlRDT+ixIrT3rmZgiFTIDXe eQo52e9EbjLrWF8QM5ptwUgE60LPtdHccuZbrNxazkpbc+GFg65rbRT3h2rjmqOFts6D vuug0z1PG3UtwIpdLvmXOThzZN1mit9XRJld6xL0W/Kra3rRvrAKjVMomA+b4lSK6ZVJ ByB/gfQjXOJHHumLQNL0vTH5Ke2KrSt3Suc7ElnrCrVUVp20GfIAa+GQwO1tBkTU9CyG yBsQx3m6GUNcxxvNM2Cgo+wEukIFykP+VTuCcrwYXhnRllyx2i2fNEMtpcAyLOeXhkM3 POzw== X-Gm-Message-State: AOAM5303T4lkxuMmwwAbyojIDcaErmW0tEiv99rPG5fbAF1+qbHprNrc 1Y9demgBYgO4p7TP1n4hBYX4QTzIxyu2fk9KrjE= X-Received: by 2002:ac8:5805:: with SMTP id g5mr6951210qtg.360.1630044880150; Thu, 26 Aug 2021 23:14:40 -0700 (PDT) MIME-Version: 1.0 References: <1629975460-17990-1-git-send-email-shengjiu.wang@nxp.com> In-Reply-To: From: Shengjiu Wang Date: Fri, 27 Aug 2021 14:14:29 +0800 Message-ID: Subject: Re: [PATCH 1/2] ASoC: fsl_rpmsg: add soc specific data structure To: Fabio Estevam Cc: Shengjiu Wang , Linux-ALSA , Timur Tabi , Xiubo Li , linux-kernel , Takashi Iwai , Nicolin Chen , Mark Brown , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 26, 2021 at 7:54 PM Fabio Estevam wrote: > > Hi Shengjiu, > > On Thu, Aug 26, 2021 at 8:19 AM Shengjiu Wang 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 Thanks, I will update in v2. Best regards wang shengjiu