Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp971657rwb; Wed, 14 Dec 2022 05:12:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf7U3IjQ0oWMBvEhc4uYq4nLnDiO0MtMeJTLFobSbsrWsk4nK2rfiOw3Q6AEW3gKZrJAvTpi X-Received: by 2002:a17:90b:78a:b0:214:132a:2bea with SMTP id l10-20020a17090b078a00b00214132a2beamr24515135pjz.4.1671023551864; Wed, 14 Dec 2022 05:12:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671023551; cv=none; d=google.com; s=arc-20160816; b=GE5UA3ys18MKt0mXyPCA5Um7yIVleeTt9GDP4EKi0OITD/Vh8Kmd0Do3yjefk0RQJR ftD5SqzY32qW96eeceZKAXVOEBo7Jzd8LcPoENOgK45uWtLuS+Rw65YTRsApxr2g884b TuSceuj/ZEq0r3AWPy3aht4YLEZnS3fJpPbo4/N9qQrb973jR+DQOQ+O0/wlXzi1z6IY zTQGDZ3Avz2DMrCfhTdTzI70lXZcA/yVPhdCuTKW0HtfC3cO/KMVzHrkV5rWcG1xnbiJ WFEW2RFdaZDf5lz2W+eZrJZFRKPp0Z3qoA6t0ukkbGBY83Cq9z0+wwlsuJKGviKBQ7Xy 7NQw== 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:dkim-signature; bh=aZYpr7PdIIEjRHAo8aMLeYDllEQgPdCTCsRbDEX5RrE=; b=zG0WOoDZreLG+KfLvysyr3HCRuMnJ3F91eV7ZqVtpuOI+9NGT51BRdjKuFjy640TVB ZCiN0hXpNhE4ch6hh53FFH+EufQ44ZmB/nr4DYp6D/McKZStztYgsP8xygqzZ8bKWLZn n/GCgtryxq9naAtjvYdsikh3bsImnoKV2ToQ/XLCeuawlym6JkDUZU4gnnjdtN9jFN7g bKL7Xj8WmFsicV4cf+HWY66edgoTPScsxUywHyD9kujOxbFchPzoyJCvvbkDh+HaD3Ik IMFD7jrlxqqm0IaQ0nxrb0WTg2y9MAs19IB80hwxqBkd2GHxDxRXgE0QweAUtMWD+/43 RxeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=jdIEWdti; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj7-20020a17090b4f4700b00219025db57esi2071141pjb.151.2022.12.14.05.12.20; Wed, 14 Dec 2022 05:12:31 -0800 (PST) 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=@denx.de header.s=phobos-20191101 header.b=jdIEWdti; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238174AbiLNMjp (ORCPT + 69 others); Wed, 14 Dec 2022 07:39:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238278AbiLNMjY (ORCPT ); Wed, 14 Dec 2022 07:39:24 -0500 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 713DB1DF0B for ; Wed, 14 Dec 2022 04:38:07 -0800 (PST) Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id A2FE385163; Wed, 14 Dec 2022 13:38:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1671021485; bh=aZYpr7PdIIEjRHAo8aMLeYDllEQgPdCTCsRbDEX5RrE=; h=From:To:Cc:Subject:Date:From; b=jdIEWdtiQi/UuZ1yVszQKCK5h9Qg9GUZVF38U3I9a3Y2XQtr8QLlbCLiWSm3BV7nP oCLOl76rJzoC4jAo2eiOWGonPPRp/+u4cRqYV6D/Zj8+4BAcz+bdkaNYEMFfw7mL3M 0B9UT3uoY7CNfS4fVcYe2xl1UIQuBmNxgtj8taM5JVLyfLCFqsDt0Ion9Lv5KdtttP nXkuWEjl7o1znyRvKvE99vnqL1qkcGKW8rtIVloAsqlb+/GeWTRggWME2od6R3dWwh V3jPF1jmnWAk9c5oKacT8lBUA6i/TvotzFP+kVuzWidgA8Kzk3DQy7EA/coXcsumdH X0xb4RA0rrVpg== From: Lukasz Majewski To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Charles Keepax , Stephen Kitt Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Lukasz Majewski Subject: [PATCH 0/4] ASoC: Fixes for WM8940 codec Date: Wed, 14 Dec 2022 13:37:39 +0100 Message-Id: <20221214123743.3713843-1-lukma@denx.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 provides fixes for WM8940 codec. The most notable change is the clock rewrite, so this driver now can either generate proper clock frequency by itself or use one provided from the clock subsystem of the SoC. Lukasz Majewski (4): ASoC: wm8940: Remove warning when no plat data present ASoC: wm8940: Rewrite code to set proper clocks ASoC: wm8940: Mute also the speaker output ASoC: wm8940: Read chip ID when wm8940 codec probing sound/soc/codecs/wm8940.c | 129 +++++++++++++++++++++++++++++++------- sound/soc/codecs/wm8940.h | 6 ++ 2 files changed, 111 insertions(+), 24 deletions(-) -- 2.20.1