]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
ASoC: davinci-mcasp: Add support for using McASP DATA port
authorAngela Stegmaier <angelabaker@ti.com>
Thu, 4 Jul 2013 07:03:03 +0000 (02:03 -0500)
committerMisael Lopez Cruz <misael.lopez@ti.com>
Mon, 22 Jul 2013 20:04:17 +0000 (15:04 -0500)
commit13b25a428ba2656d0d6ae2bd242a772e88850aba
tree93a5b96f5460a45ed48bc0090f21da7c65a7f1de
parent8acacc32551854816a4d0a68424fb63f0375e78e
ASoC: davinci-mcasp: Add support for using McASP DATA port

By default the CFG port is used for data transfer. It
is desireable to use the DATA port so that the AFIFO
can be used on DRA7XX.

To enable DATA port usage, during the probe a check for
an IORESOURCE_MEM named "dat" is done. If the
resource is found, the data port will be used. If it is
not found, the driver will fall back to using the cfg
port.

Change-Id: I42c3cc04621354ef1fd7546f9feff003cf6b38ce
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
sound/soc/davinci/davinci-mcasp.c
sound/soc/davinci/davinci-mcasp.h