Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3115649ybl; Mon, 19 Aug 2019 12:28:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqySFHDK0qZ9N7XwFIzgcKHVa6q5U/hA9Wc/LTScbigQ9BqVpf5Lij03FYTFwNObBTBJ3/Gl X-Received: by 2002:a62:1515:: with SMTP id 21mr25509250pfv.81.1566242897827; Mon, 19 Aug 2019 12:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566242897; cv=none; d=google.com; s=arc-20160816; b=NENBiB7bWcqAGPj8QC0bhoQf2xMFSy7+hwc3ZagSxJWj7I/1UUcY7opYadViIklegB iHmuouYNltsYouHOgbOq+sDpSRp0kDxgH14Bu1ijIWOCU8QhH8mpDpYwQnyAxsiO9Eb4 QgN3SnbNShPzsO6Cr9sWvSG61yeURfhyF2C8PV407NFK3ALXL1kL7tWhLoc4OVerN6ny y7bEIwX6T5cthgsjz3qWn0Z/F4rK/9UL1xHj0JtOZEVcfNAz1QoBYOV8F/7u4PXVGopQ n9/R5MPJfA9ArKuHiSyFDrLuxrPD5DnF7qrk/gz3EfbcJ94CTglwHgsacRlyhdb27zxg zarw== 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=a3uUnQRjgOJvHYqaiCAb2x4Lh2/drJxxv+y5ijNgdIw=; b=rAuId6rYpg5muiiRyxS8I/pQNr6xFgIGNk4q+DPhDWeFftJ4hLAuxEZvdx/QC8Wk3g n9NSI8lGiO5DKtEi/SvKCAswpJJxjCuJKb0tBN47Gn5dzqq6mgJATTX65vtQIb0IcaSE f1CSGqFdN87naRPZ9k2aS1ffjWuuWGX6j6cQPZfXTveHIAanZ2B8wUNVg1/AhNUMZLFp d1Sren20UTb9rGMbw1DEQwY9uyORkqifoe8fq9ff4TOnEn15FLtQPUVW+OwxIO/RCsJY T61zcAsj54jrBd6WPyN2m3HcTMo+1OSBQUNrkzdcOacoONGTeji3uddbxeZtB397HIBS xxvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JV1VWmmD; 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 f131si10361224pgc.265.2019.08.19.12.28.02; Mon, 19 Aug 2019 12:28:17 -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=JV1VWmmD; 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 S1728846AbfHST0n (ORCPT + 99 others); Mon, 19 Aug 2019 15:26:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:42718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728816AbfHST0j (ORCPT ); Mon, 19 Aug 2019 15:26:39 -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 EB55D22CF4; Mon, 19 Aug 2019 19:26:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566242798; bh=WUtkp3F/EDUdz3aiZnXbF9Cf5ReOvOldSzFPXmjNg/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JV1VWmmDYRwmlxD119sXaA8oxYkKl2wZijv162eIYTMZFrqw04d6fJwB9MIYJxUJi lAtt4V6D/BxRmmWHk4DGIKHx996uibJCQHd3Aiyx+uMgAmRmnFBV9WTONxWOui+7oe UVBnsTknkstOezcvN9/z1XDJdWeJyIQjkwdIhUhc= 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 15/21] ASoC: sun4i-i2s: Fix MCLK Enable bit offset on A83t Date: Mon, 19 Aug 2019 21:25:22 +0200 Message-Id: <43b07f8cd8e0e280c64ce61d57c307678c923e9b.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 The A83t, unlike previous SoCs, has the MCLK enable bit at the 8th bit of the CLK_DIV register, unlike what is declared in the driver. Fixes: 21faaea1343f ("ASoC: sun4i-i2s: Add support for A83T") Signed-off-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index b5c9774e2f60..5dd742f24a7e 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -1047,7 +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, - .field_clkdiv_mclk_en = REG_FIELD(SUN4I_I2S_CLK_DIV_REG, 7, 7), + .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), .bclk_dividers = sun8i_i2s_clk_div, -- git-series 0.9.1