Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4545022rwd; Tue, 23 May 2023 09:03:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4nZqCCwbcjVJ0dSOAh27sz1HCydp2EtPRvPkukR/w2MynwMraLgDO/ebb5pl1wy7rbRPZN X-Received: by 2002:a05:6a20:3953:b0:10c:2fe0:b3d with SMTP id r19-20020a056a20395300b0010c2fe00b3dmr4959631pzg.33.1684857830476; Tue, 23 May 2023 09:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684857830; cv=none; d=google.com; s=arc-20160816; b=WouJjPjVOA4UzhDQsP0QpkpzY3gQFUgP6IERBuW8rOq/hqxwf9PMarltsxNxNElZcA fJD8XCqJY42APY6YtrQYXmM/7kSLTy2MNq5M8iZ3WUzHbXgO3HaiWBWXNDozP+feNVcw BCCPEun20fslXgu6OKR1vUOpMmOd4dgvjbrzL8YSAVP5y3rCEVvbIEuEfwHkCTAAckr5 2IoKper4ezmySdcQy4jMZ+6Av+g6FUpmIr5XXE1YhFwj3w3l5t/LrVqUOETY2VqqBQA/ XrJOBBA8vfVoVIX5PsRlJ3ASCi7wMfL0I1vBw/fIyceMVNrzPjbTFtgeM4Hxl8rNzt1I 9IFQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HY78bpvovATO4WTiWWCs/PyinwWE+HdEDWAOWfiu7IY=; b=WTLN9cc1wzNoKgZNuXl9oJTmIqen9GiVdJs5YJOLYLkChKw+yklA7Tgd4Y5S0HCuYx mBJBhBAjnMPq6DHSuuUMaOA2jeGvyzK+OGouTROM8gNyTRMwC6vyHlfRsTfZNbUJbWl9 1Ka1Omz94kg/ShZXCqXlDB0WhxC5vtwOAJaYDU8el66I5OCXrPiAvEPxVGe5xLU4nJlZ pN6OGjn76zB2vXiOzMMvErGIGJU3keaR4HgtGZok2STUDw7k0YNiJ4hsrV97UJc62WiW h98Z0t2Gk5RPGCMtmkaRyC6p2GmAFG9q7zZ12qrQDIQDzQH5Ls7nE/axex+m73N+/zeE aThA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qzXoE7KK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h128-20020a636c86000000b00530b7eca08csi6396765pgc.524.2023.05.23.09.03.25; Tue, 23 May 2023 09:03:50 -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; dkim=pass header.i=@linaro.org header.s=google header.b=qzXoE7KK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237587AbjEWPqb (ORCPT + 99 others); Tue, 23 May 2023 11:46:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237109AbjEWPq2 (ORCPT ); Tue, 23 May 2023 11:46:28 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51134DD for ; Tue, 23 May 2023 08:46:26 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f601c57d8dso202475e9.0 for ; Tue, 23 May 2023 08:46:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684856785; x=1687448785; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HY78bpvovATO4WTiWWCs/PyinwWE+HdEDWAOWfiu7IY=; b=qzXoE7KKxl8W7e9Ja/36EZNThJM8rZx06KxNTz3pu/jWCjkNW83xPrSo87iAGb5eod tYOi1jkZbAiEFgKV594n50+88hyF1C9ftpmv8HxaiYgOAr0mRStKnWG+cwq6WqGzPBy+ OG0Fj1AxfEX3J2sgJB/WYBzgD3A3lm+Iauu5wrSl7fbwLIGt/Y8q202YcqU71xBs7rg8 exjOndDRf3smAaxgYEkP67pAQ2MP+1JSlYAj4IJkNJWH3Fms6lP5Ntt7CNXklyrsFbPz x70ZRlAc4zhIbWw7zEW6a+yRuEpQJ3pvYuXGBsuieV5suQ5IyViTHuX6eTk44TSxkqVG vE7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684856785; x=1687448785; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HY78bpvovATO4WTiWWCs/PyinwWE+HdEDWAOWfiu7IY=; b=froFlziAqHrnBfmhxZbVPsub1Qmuv7eTCRe2l8o+lui4qgWQe3+yJE6Qm/TCRcq/vJ NVe9sjA/h0XuKIizFi2vvc7FCLxL9nme5SWrrTURx0x4fRKwHzGqTa3GtBsN8sxcP6MQ vLYRPXMs8pY2Gppr2IrLwfO1oamqSHlCj1AP1On1zfxxwahlRQqFLzTkS/g8PdiXSjeg RMEaTZTtxmCJCa8M1TRBpAs8Ve5ZsfdGmrdp8xiqxL3NQMzyxb3Dr2mL45aESWfiL1B1 6Bmc+GpPCYdAjwngFyx3vCwJA6UGR+DWlltnvyqGP+ouFWiaG++ORXJPNdaGfUOi5mLM zq1w== X-Gm-Message-State: AC+VfDyr2eZabcMT+agtSNT8O2MPKKC9PDv0zlaxseqkWfg6HGo6vTqA bN0Qs/N7sOImwBjMxYZh4RtWdQ== X-Received: by 2002:a05:600c:3549:b0:3f5:a54:9f97 with SMTP id i9-20020a05600c354900b003f50a549f97mr11115515wmq.0.1684856784731; Tue, 23 May 2023 08:46:24 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id f4-20020a1c6a04000000b003f1978bbcd6sm3374063wmc.3.2023.05.23.08.46.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 08:46:23 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org Cc: perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, ckeepax@opensource.cirrus.com, kuninori.morimoto.gx@renesas.com, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, Srinivas Kandagatla Subject: [PATCH 2/2] ASoC: codecs: wsa881x: do not set can_multi_write flag Date: Tue, 23 May 2023 16:46:05 +0100 Message-Id: <20230523154605.4284-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20230523154605.4284-1-srinivas.kandagatla@linaro.org> References: <20230523154605.4284-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 regmap-sdw does not support multi register writes, so there is no point in setting this flag. This also leads to incorrect programming of WSA codecs with regmap_multi_reg_write() call. This invalid configuration should have been rejected by regmap-sdw. Fixes: a0aab9e1404a ("ASoC: codecs: add wsa881x amplifier support") Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wsa881x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/wsa881x.c b/sound/soc/codecs/wsa881x.c index 4ce72a7f01b6..211b154bc514 100644 --- a/sound/soc/codecs/wsa881x.c +++ b/sound/soc/codecs/wsa881x.c @@ -645,7 +645,6 @@ static struct regmap_config wsa881x_regmap_config = { .readable_reg = wsa881x_readable_register, .reg_format_endian = REGMAP_ENDIAN_NATIVE, .val_format_endian = REGMAP_ENDIAN_NATIVE, - .can_multi_write = true, }; enum { -- 2.21.0