Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2547129pxb; Mon, 11 Jan 2021 12:34:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYu7O7VmBuyJCpQlyP5ufukV79Hce/IovqY8thDwe5SC8wRwO5irxW36Ef4M+NucVDGQBX X-Received: by 2002:a17:906:30c4:: with SMTP id b4mr825425ejb.456.1610397284648; Mon, 11 Jan 2021 12:34:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610397284; cv=none; d=google.com; s=arc-20160816; b=xnmplCKgKFEUy8WetknJnR80owdQO415lXrDKjr+m8I3v4YQ0/vYSSoImsFjh0fK9M CI/EEiBnn9/xOIeJ3m1hWty2dP169qo5nmOpQd67yxVJctqI8ZuoFwiOzk/TnLnxwzDd hjfllbsYsw8J1Zqge1r83XMmOInSopw+urekFgQwPv3t7rY9YPNRnrARDX8L+TOm9J9J JoiE4A7Vb8ahyBwmXpL4iZqGB+zs+xOVWx3dxQ3fvwZ/HrS3mjYAb8zG8RUHCqKL7mLq o84pKxNeBiPyZUcIS/3F8/ffHogXcFdgIyJmpWrW9COvCafEDQrIxhU+VInDjMvW+n5D y5PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=gzrK+6xEBWq90vEDY48J42Y9kNBVeDUPIF52NdyKGus=; b=SflQX9V92QusctOkgHt3gnFUUs4SJX2O3MASZs3AltptffU6MqmX1RU1PkBWv8WhFP svqUumsW8frK1M3+zOnurej35RkQAf2IkkvtB+7wQ8IHd/TfoQd1MYfDq2Za+nf6C74u +RDojO78wggskrGHdK2eVPalBSRurA5Pi94QGUKxoM5Q6BPG339paMTWBbi9VRpL326I bhwDn9f4CBAgKQvGHjdu8b53BkpkiTfezbw1q7DrV8UWbVk4wjwnP8K5qQoFiybC775d j0kA90D3dQpkmOpCAAMTwC9HC6PMzCKGGmsqf0564kyABHgrgZE81oxww9YRNrVVq7Q/ oGAQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si331203edw.275.2021.01.11.12.34.20; Mon, 11 Jan 2021 12:34:44 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387636AbhAKUaY (ORCPT + 99 others); Mon, 11 Jan 2021 15:30:24 -0500 Received: from mga12.intel.com ([192.55.52.136]:38642 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728701AbhAKUaW (ORCPT ); Mon, 11 Jan 2021 15:30:22 -0500 IronPort-SDR: bkZ0VmR8qNu7HP2Xk+P0Z1rXzJ3zCU6EXl1YswDvgEfRPnrnOu1jzm11Xy06Gr9qBCDOf5B4JD 3bfdr5h///GA== X-IronPort-AV: E=McAfee;i="6000,8403,9861"; a="157110616" X-IronPort-AV: E=Sophos;i="5.79,339,1602572400"; d="scan'208";a="157110616" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2021 12:28:37 -0800 IronPort-SDR: Wk15VZMYLhTSRJe+wM8eN+4NsVkhDFIAzmHLW+rsMFHB/6IN88TOVK44+axPb81kMjUhRzbz9A VbzTZmXIqtAg== X-IronPort-AV: E=Sophos;i="5.79,339,1602572400"; d="scan'208";a="344995380" Received: from gkbech1x-mobl.amr.corp.intel.com (HELO [10.212.87.85]) ([10.212.87.85]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2021 12:28:35 -0800 Subject: Re: [PATCH 13/14] ASoC: Intel: bytcr_wm5102: Add machine driver for BYT/WM5102 To: Charles Keepax , Hans de Goede Cc: Cezary Rojewski , alsa-devel@alsa-project.org, patches@opensource.cirrus.com, Mark Brown , Jie Yang , linux-kernel@vger.kernel.org, Liam Girdwood , Chanwoo Choi , MyungJoo Ham , Lee Jones References: <20201227211232.117801-1-hdegoede@redhat.com> <20201227211232.117801-14-hdegoede@redhat.com> <20201229135836.GO9673@ediswmail.ad.cirrus.com> From: Pierre-Louis Bossart Message-ID: Date: Mon, 11 Jan 2021 11:54:20 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201229135836.GO9673@ediswmail.ad.cirrus.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> + return ret; >> + } >> + >> + ret = snd_soc_component_set_sysclk(codec_component, ARIZONA_CLK_OPCLK, 0, >> + rate * sr_mult, SND_SOC_CLOCK_OUT); >> + if (ret) { >> + dev_err(codec_component->dev, "Error setting OPCLK: %d\n", ret); >> + return ret; >> + } > > OPCLK is a clock that can be outputted on the CODECs GPIOs. Is > that being used to clock some external component? If so it should > be added to the DAPM graph, if not you might as well remove this > call. Thanks Charles for the feedback. I have a vague recollection that the routing was supposed to be something like: AP-----V WM5102----> BT HFP Modem--^ with processing on WM5102. But when I look at the initial Android code there are references to the HFP path being handled by the AP. Probably better to remove this clock configuration if the need for it is unclear, the goal is only to enable speaker/headset for now.