Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3116367ybl; Mon, 19 Aug 2019 12:29:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1cLz9Ar3XReQdgem0Ks72ibS3eKlLugcelY9ef7Y4ai/p1jNONYyDriKTXVDmw1Rb/Cdr X-Received: by 2002:a17:902:be03:: with SMTP id r3mr24742640pls.156.1566242948109; Mon, 19 Aug 2019 12:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566242948; cv=none; d=google.com; s=arc-20160816; b=OjzZyAksCAntkD6zx8UcWFCfUNZmL3lw7sW1QyHij18mgJQdvl+U1MZp7OHrBhq1ib /Iga4SWmGhjAXZ44e9Zsw5PwsL5HRG8iy8c/iu6hFSx94IL9puKwNEgQnjkrIwhF9s59 XA49vVIOsArqWAXBmRpNH4WtMGJK594ERMp+Zpzu/mBQ1C8J8aFRktN4xLTy9yIPbXEQ DeVnS3fmyvDZL80ihVh2qHA4baHXoXfud/fpy+2cCGtDitP/IifAnGPusjj77W39w3Bd Ll5DrmqReXOnCNCDT4EsINA6EeCLmM61Fqhvy84SjDrrXt7yyYuY3uTHjhQPtcXST32B n7rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4nN9oOjkIDrEDxU6CjKNZCfIwnV/tKYVuZ3dG04KfBc=; b=I+oaGQbcH1fYF3n86wm6pYVP5OOw6G3W8t623R6XA2fgCW0BVns0uEKuDLA+kuDvBm c1mWvOb5tt/isjHxxnCTRPCAo6JQLau79Ck5t92+ri3ruKNDaRIkzfDGXS1uLQ6J6wJv xyyJAjgiGt6BPssL4xg3UwF/Ti4+o/c6kriM/q75MxCLbpXN9PeZ13mQnD+Nb6Nvo8xa JxE1EeogQSu6gKOnPKJ+FhRL1qfoqaDYzgGid1/4HjWdmjzq+Kcljd+N194yQdZILxp4 Qqv4KMkFwSXJjpP5+P/q3AuAvibAABlb2B9Xuxv4nAD1mpXIyNLfDM9Ksb/SffP9Y/vK HpzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ArqWz0An; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y186si10420105pgd.440.2019.08.19.12.28.53; Mon, 19 Aug 2019 12:29:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ArqWz0An; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728722AbfHST0W (ORCPT + 99 others); Mon, 19 Aug 2019 15:26:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:42258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728712AbfHST0U (ORCPT ); Mon, 19 Aug 2019 15:26:20 -0400 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C701022CEC; Mon, 19 Aug 2019 19:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566242779; bh=pQ0Ph5rDPXfgCMzspmmfi9ilgy1fIlAZIRPD3Q25eMU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ArqWz0AnMOdmhO835g6d4XeWAlJn1HhRUJuMTUbfai/uRIO2GpwRWbRIEUI+fu326 0D9GyE8X3d4q4fKSLn3SW3mGtcCTMEcmskatfV/vsHMpPqCjGmcuMJzT04MVaelMFI GhRJXzGZdXNd9hawaBHazR0jBMq8Jry2QPgRu2dQ= From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , lgirdwood@gmail.com, broonie@kernel.org Cc: alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, codekipper@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH 16/21] ASoC: sun4i-i2s: Fix the LRCK period on A83t Date: Mon, 19 Aug 2019 21:25:23 +0200 Message-Id: <6a0ee0bc1375bcb53840d3fb2d2f3d9732b8e57e.1566242458.git-series.maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Ripard Unlike the previous SoCs, the A83t, like the newer ones, need the LRCK bitfield to be set. Let's add it. Fixes: 21faaea1343f ("ASoC: sun4i-i2s: Add support for A83T") Signed-off-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 5dd742f24a7e..65bc296abb37 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -1047,6 +1047,7 @@ static const struct sun4i_i2s_quirks sun8i_a83t_i2s_quirks = { .has_reset = true, .reg_offset_txdata = SUN8I_I2S_FIFO_TX_REG, .sun4i_i2s_regmap = &sun4i_i2s_regmap_config, + .has_fmt_set_lrck_period = true, .field_clkdiv_mclk_en = REG_FIELD(SUN4I_I2S_CLK_DIV_REG, 8, 8), .field_fmt_wss = REG_FIELD(SUN4I_I2S_FMT0_REG, 0, 2), .field_fmt_sr = REG_FIELD(SUN4I_I2S_FMT0_REG, 4, 6), -- git-series 0.9.1