Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473363

[PATCH RESEND 1/2] mfd: twl6040: The chip does not support bulk access

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Peter Ujfalusi <peter.ujfalusi@ti.com>
Newsgroups linux.kernel
Subject [PATCH RESEND 1/2] mfd: twl6040: The chip does not support bulk access
Date Wed, 31 Aug 2016 13:50:02 +0200
Message-ID <sccbM-1TJ-29@gated-at.bofh.it> (permalink)
References <sccbL-1TJ-3@gated-at.bofh.it>
X-Mailer git-send-email 2.9.3
MIME-Version 1.0
Content-Type text/plain
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-Cc <linux-omap@vger.kernel.org>, <linux-kernel@vger.kernel.org>
X-Original-Date Wed, 31 Aug 2016 14:46:20 +0300
X-Original-Message-ID <20160831114621.6301-2-peter.ujfalusi@ti.com>
X-Original-References <20160831114621.6301-1-peter.ujfalusi@ti.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1473363

Show key headers only | View raw


Bulk access is not working with twl6040, we need to use single register
access. Bulk access would happen when we try to sync the regcache after
power on.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 drivers/mfd/twl6040.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c
index ab328ec49353..c3ad59ef43dd 100644
--- a/drivers/mfd/twl6040.c
+++ b/drivers/mfd/twl6040.c
@@ -609,6 +609,7 @@ static const struct regmap_config twl6040_regmap_config = {
 	.writeable_reg = twl6040_writeable_reg,
 
 	.cache_type = REGCACHE_RBTREE,
+	.use_single_rw = true,
 };
 
 static const struct regmap_irq twl6040_irqs[] = {
-- 
2.9.3

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RESEND 0/2] mfd: twl6040: bulk access fix and pdmclk registration Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-08-31 13:50 +0200
  [PATCH RESEND 1/2] mfd: twl6040: The chip does not support bulk access Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-08-31 13:50 +0200
    Re: [PATCH RESEND 1/2] mfd: twl6040: The chip does not support bulk  access Lee Jones <lee.jones@linaro.org> - 2016-08-31 16:40 +0200

csiph-web