]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: OMAP: HDMI: Create a structure for private data of the CPU DAI
authorRicardo Neri <ricardo.neri@ti.com>
Fri, 18 May 2012 06:42:36 +0000 (01:42 -0500)
committerLiam Girdwood <lrg@ti.com>
Tue, 22 May 2012 16:33:23 +0000 (17:33 +0100)
commit2603915336352e5491c02b0befa3b890ea13d6ef
tree958b3d08bff774ef196b3e20331493c824a51613
parent0ff5ee871ff18bb5b66a81353aac1db7e9399d95
ASoC: OMAP: HDMI: Create a structure for private data of the CPU DAI

Create a struct hdmi_priv to store the relevant data of the CPU DAI
driver. As more data is added to the driver, having all the data
in the same location eases its handling. At the moment, only the DMA
configuration parameters are included in the structure.

Also, the required memory is allocated using devm_kzalloc rather than
using a static global variable.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
sound/soc/omap/omap-hdmi.c