* [PATCH] ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register
@ 2016-10-25 14:39 Axel Lin
2016-10-25 19:28 ` Applied "ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register" to the asoc tree Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2016-10-25 14:39 UTC (permalink / raw)
To: Mark Brown
Cc: Brian Austin, alsa-devel, Axel Lin, Liam Girdwood, Paul Handrigan
CS35L34_CHIP_ID is not a register address, it's the value read from
CS35L34_DEVID_AB/CD/E registers.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
sound/soc/codecs/cs35l34.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/cs35l34.c b/sound/soc/codecs/cs35l34.c
index 4045383..e0f672a 100644
--- a/sound/soc/codecs/cs35l34.c
+++ b/sound/soc/codecs/cs35l34.c
@@ -145,7 +145,6 @@ static bool cs35l34_volatile_register(struct device *dev, unsigned int reg)
static bool cs35l34_readable_register(struct device *dev, unsigned int reg)
{
switch (reg) {
- case CS35L34_CHIP_ID:
case CS35L34_DEVID_AB:
case CS35L34_DEVID_CD:
case CS35L34_DEVID_E:
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Applied "ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register" to the asoc tree
2016-10-25 14:39 [PATCH] ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register Axel Lin
@ 2016-10-25 19:28 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2016-10-25 19:28 UTC (permalink / raw)
To: Axel Lin
Cc: Brian Austin, Mark Brown, alsa-devel, Paul Handrigan,
Liam Girdwood
The patch
ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
>From 55060feefcdff692ace47b1a2346998dfcd4bcb5 Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@ingics.com>
Date: Tue, 25 Oct 2016 22:39:36 +0800
Subject: [PATCH] ASoC: cs35l34: Remove CS35L34_CHIP_ID from
cs35l34_readable_register
CS35L34_CHIP_ID is not a register address, it's the value read from
CS35L34_DEVID_AB/CD/E registers.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/cs35l34.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/cs35l34.c b/sound/soc/codecs/cs35l34.c
index 404538379586..e0f672af1d84 100644
--- a/sound/soc/codecs/cs35l34.c
+++ b/sound/soc/codecs/cs35l34.c
@@ -145,7 +145,6 @@ static bool cs35l34_volatile_register(struct device *dev, unsigned int reg)
static bool cs35l34_readable_register(struct device *dev, unsigned int reg)
{
switch (reg) {
- case CS35L34_CHIP_ID:
case CS35L34_DEVID_AB:
case CS35L34_DEVID_CD:
case CS35L34_DEVID_E:
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-25 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-25 14:39 [PATCH] ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register Axel Lin
2016-10-25 19:28 ` Applied "ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register" to the asoc tree Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).