lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1388755676-16036-1-git-send-email-peter.ujfalusi@ti.com>
Date:	Fri, 3 Jan 2014 15:27:45 +0200
From:	Peter Ujfalusi <peter.ujfalusi@...com>
To:	Liam Girdwood <lgirdwood@...il.com>,
	Mark Brown <broonie@...nel.org>,
	Samuel Ortiz <sameo@...ux.intel.com>,
	Lee Jones <lee.jones@...aro.org>
CC:	<alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH 00/11] ASoC/MFD: twl4030 codec local register cache removal

Hi,

After the twl6040 codec, now it is time for the twl4030 codec driver to loose
it's local reg cache and let the MFD core's regmap to take care of the caching.

We have different functions behind of the 0x49 i2c address in twl (where the
audio registers can be found between 0x01 - 0x49). I mark all non audio
registers as volatile for now to avoid any side effect of the caching. Gradually
other functionalities can also move their caching to regmap to simplify the code.

I have included couple of clean up patches after the local regcache removal to
the series to freshen up the code a bit.

Regards,
Peter
---
Peter Ujfalusi (11):
  MFD: twl-core: Simplify IO wrapper functions by moving common code out
  MFD: twl-core: API to set the regcache bypass for a given regmap in
    twl
  MFD: twl-core: Enable regcache for audio registers
  ASoC: twl4030: Separate write condition checking from I/O function
  ASoC: twl4030: Remove check defaults functionality
  ASoC: twl4030: Remove reset registers functionality
  ASoC: twl4030: Introduce local ctl register cache
  ASoC: twl4030: Remove local reg cache
  ASoC: twl4030: Parameter alignment fixes (for code consistency)
  ASoC: twl4030: Move the ctl cache update local to twl4030_write()
    function
  ASoC: twl4030: Pass the twl4030_priv directly to
    twl4030_can_write_to_chip()

 drivers/mfd/twl-core.c     | 190 +++++++++++++++++++----
 include/linux/i2c/twl.h    |   5 +-
 sound/soc/codecs/twl4030.c | 376 ++++++++++++++++-----------------------------
 3 files changed, 300 insertions(+), 271 deletions(-)

-- 
1.8.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ