Received: by 2002:a05:7412:3210:b0:e2:908c:2ebd with SMTP id eu16csp483784rdb; Thu, 31 Aug 2023 15:42:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFkVIl+L2FaQuZSXPu3L5XMvmgbwThwA4pIyjk/adF7A7mq2dteovgPD5wC7QJORFoNcZ8O X-Received: by 2002:a05:6a00:2387:b0:68b:fcb9:74f9 with SMTP id f7-20020a056a00238700b0068bfcb974f9mr1221087pfc.33.1693521760240; Thu, 31 Aug 2023 15:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693521760; cv=none; d=google.com; s=arc-20160816; b=K/eSUtDiQdGqA7TaanXnm2BJj3dRk/fntHWm3eH798iGl5jUynEkUXPdJRigOefuik Qs/3o4/KWsJV7LyOynSsQwFAxpakrn06luJRYUi/7NpC3VNP1nTTpR57QtHssb0Nlsvr +unBzH9Sd67FHnjw4Mss22SyvZsLZ8N6o+I4XkMnizGl+kFEYM8rQFoJidDH3Ti20S8g De/GYxLD83Oqks1gzBat12LOZNYGIvnr35I0dDbTk0PiRhQ1Xi9eZJew/5yhyaiUDAba 9zO9+CvQ+EQWOpovdcL5+HKRAPgFPKNfkGOEaNmVi0Ez5DI5yrpYh9M94zmxsMQDqSQu 3Xzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=NewZ54WVzTYylDt18teJtSFush299kPMgcoJK1r4JUQ=; fh=isro4ohP5UEoi6J58tTnBJC846N0ifuc0XKNYyi01B4=; b=IAwE3hY9xzWGJaRK+Kb0qM4rmnxesWiceMHSxoCuW22nIzOWz2TswM4+ADPSnDyhHw nkQZhGSBrmO3bb8WJ7z0qyv6K3rJIK0n21uGbGnOidlLSqVRVohuFr8zI3zkHw0at3b9 qUBYd3uxo4lqw2h/IaX1ybrOT1qla46+mE8GX4OpOkei1wTHFtqbd7AjWJYrSDm4mNtJ KUy8ok6t+xvJabRVCiYYEk2AnudsWEQN45mg+PG+SjDE1APbxoy76tTPDOWYieQ3Oxcc qsj4lsLFswuefstxp6dblvoFS6LiIPZY6Dh/uKzJ/T9A+UsvuamoWBlKedQTPmuRMz38 5Grw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bg26-20020a056a02011a00b00563d9ff5158si1834189pgb.350.2023.08.31.15.42.27; Thu, 31 Aug 2023 15:42:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345532AbjHaTqd (ORCPT + 99 others); Thu, 31 Aug 2023 15:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235244AbjHaTqc (ORCPT ); Thu, 31 Aug 2023 15:46:32 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0D706E70 for ; Thu, 31 Aug 2023 12:46:28 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.02,217,1688396400"; d="scan'208";a="178339736" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 01 Sep 2023 04:46:28 +0900 Received: from localhost.localdomain (unknown [10.226.92.179]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id CE35B40062C9; Fri, 1 Sep 2023 04:46:24 +0900 (JST) From: Biju Das To: Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai Cc: Biju Das , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Andy Shevchenko Subject: [PATCH v3 0/3] Match data improvements for tlv320aic32x4 driver Date: Thu, 31 Aug 2023 20:46:19 +0100 Message-Id: <20230831194622.87653-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series aims to add match data improvements for tlv320aic32x4 driver. This patch series is only compile tested. v2->v3: * Added Rb tag from Andy for patch#1 and patch#2 * Simplified aic32x4_spi_probe() in patch#3. v1->v2: * Created patch#1 for adding enum aic32x4_type to aic32x4_probe() and drop using dev_set_drvdata() from tlv320aic32x4_{i2c,spi} drivers. * Return value of i2c_get_match_data() passed to type paramemter in aic32x4_probe(). Biju Das (3): ASoC: codec: tlv320aic32x4: Add enum aic32x4_type to aic32x4_probe() ASoC: tlv320aic32x4-i2c: Simplify probe() ASoC: tlv320aic32x4-spi: Simplify probe() sound/soc/codecs/tlv320aic32x4-i2c.c | 19 +++---------------- sound/soc/codecs/tlv320aic32x4-spi.c | 18 +++--------------- sound/soc/codecs/tlv320aic32x4.c | 5 +++-- sound/soc/codecs/tlv320aic32x4.h | 3 ++- 4 files changed, 11 insertions(+), 34 deletions(-) -- 2.25.1