[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111004095124.GA3250@opensource.wolfsonmicro.com>
Date: Tue, 4 Oct 2011 10:51:24 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Liam Girdwood <lrg@...com>,
alsa-devel@...a-project.org
Subject: Re: ASoC: snd_soc_codec_set_cache_io does not set codec->hw_write
callback now
On Tue, Oct 04, 2011 at 05:24:32PM +0800, Axel Lin wrote:
> I just found that after commit be3ea3b9e
> "SoC: Use new register map API for ASoC generic physical I/O",
> snd_soc_codec_set_cache_io does not set codec->hw_write any more.
> It is still used in some drivers. e.g.
> In wm8988_resume, we call codec->hw_write(codec->control_data, data, 2);
> For the drivers that is using snd_soc_codec_set_cache_io now,
> where is the place to set codec->hw_write callback now?
These drivers should be using the standard I/O functions, probably
they're looking for the cache_bypass flag. Either that or convert to
use regmap directly.
--
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