[alsa-devel] [RFC 1/9] ASoC: hda: Add helper to read/write to dsp mmio space

Mark Brown broonie at kernel.org
Mon Apr 20 23:46:38 CEST 2015


On Fri, Apr 17, 2015 at 06:45:59PM +0530, Vinod Koul wrote:

> +u8 ssth_readb_traced(struct ssth_lib *dsp, u32 offset)
> +{
> +	u8 val;
> +
> +	val = readb((dsp)->mmio_base + offset);
> +	dev_dbg(dsp->dev, "readb offset=%#x val=%#x\n", offset, val);
> +
> +	return val;
> +}

Much of this looks like a MMIO regmap, there's the memcpy() bits too
which aren't but otherwise...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150420/5e0646fe/attachment.sig>


More information about the Alsa-devel mailing list