summaryrefslogtreecommitdiff
path: root/drivers/misc/a2220.c
diff options
context:
space:
mode:
authorRahul Mittal <rmittal@nvidia.com>2012-10-11 12:22:23 +0530
committerSimone Willett <swillett@nvidia.com>2012-10-26 17:02:38 -0700
commit088b16dac2b3409801ff37c6f5d0be08c9f3e5b7 (patch)
tree91c491307c072a2c551c5cba9c92bd7daeeac3a8 /drivers/misc/a2220.c
parent4ca30a764ccb8b2d85924e96ff1d63d481b6c978 (diff)
asoc: tegra: cs42l73: slave mode support
I2S changed to slave mode Add Schmidt trigger enable for DAP2 Add devid and conid for sync clock lookup Configured DAP direction to INPUT Audience configured for PORTA -> PORTC passthrough Bug 1062554 Change-Id: I9e7cc40e4ce4e165685d9081242f181d5bd5d6d8 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/141123 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> (cherry picked from commit f329532f3b76a276c2f1219ff6422510b5a8ed9d) Reviewed-on: http://git-master/r/147928 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/misc/a2220.c')
-rw-r--r--drivers/misc/a2220.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/misc/a2220.c b/drivers/misc/a2220.c
index 7f13fd702435..326956e1db75 100644
--- a/drivers/misc/a2220.c
+++ b/drivers/misc/a2220.c
@@ -13779,6 +13779,20 @@ int a2220_ioctl2(unsigned int cmd , unsigned long arg)
EXPORT_SYMBOL(a2220_ioctl2);
//lsj -
+int a2220_port_path_change(unsigned int msg)
+{
+ switch (msg) {
+ case A100_msg_PortC_A_PASS:
+ case A100_msg_PortA_C_PASS:
+ break;
+ default:
+ printk(KERN_ERR "Not support [0x%X] for port change\n", msg);
+ return -EINVAL;
+ }
+ return execute_cmdmsg(msg);
+}
+EXPORT_SYMBOL(a2220_port_path_change);
+
static const struct file_operations a2220_fops = {
.owner = THIS_MODULE,
.open = a2220_open,