]> git.baikalelectronics.ru Git - kernel.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)
commite38bf145d03dca71feb2a9922ed1926dfd7784a4
tree958b3d08bff774ef196b3e20331493c824a51613
parent64656a9b783c5c9dca195c6f7cc6a1539ebf9b88
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