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


Groups > linux.kernel > #1403006

[PATCH 04/14] mfd: twl6040: The chip does not support bulk access

From Peter Ujfalusi <peter.ujfalusi@ti.com>
Newsgroups linux.kernel
Subject [PATCH 04/14] mfd: twl6040: The chip does not support bulk access
Date 2016-05-18 16:00 +0200
Message-ID <rAab0-2Rm-27@gated-at.bofh.it> (permalink)
References <rAa1j-2O5-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | 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 f3dcf3a85e84..2596546553aa 100644
--- a/drivers/mfd/twl6040.c
+++ b/drivers/mfd/twl6040.c
@@ -608,6 +608,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.8.2

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


Thread

[PATCH 00/14] clk/mfd/ASoC/ARM: OMAP4/5: McPDM/twl6040 pdmclk support Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 15:50 +0200
  [PATCH 07/14] ARM: dts: omap4-panda-common: Add pdmclk binding for audio Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 15:50 +0200
  [PATCH 12/14] ASoC: omap-mcpdm: Move the WD enable write inside omap_mcpdm_open_streams() Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 15:50 +0200
  [PATCH 13/14] ASoC: omap-mcpdm: Support for suspend resume Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 15:50 +0200
  [PATCH 01/14] clk: twl6040: Correct clk_ops Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 15:50 +0200
  [PATCH 06/14] ARM: dts: omap5-board-common: Add pdmclk binding for audio Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 15:50 +0200
  [PATCH 09/14] ARM: dts: omap4-var-som-om44: Add pdmclk binding for audio Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 16:00 +0200
  [PATCH 02/14] clk: twl6040: Register the clock as of_clk_provider Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 16:00 +0200
  [PATCH 04/14] mfd: twl6040: The chip does not support bulk access Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 16:00 +0200
  [PATCH 03/14] clk: twl6040: Rename the driver and use consistent names in the code Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 16:00 +0200

csiph-web