summaryrefslogtreecommitdiff
path: root/drivers/headset_observe
diff options
context:
space:
mode:
author邱建斌 <qjb@rock-chips.com>2011-07-19 10:05:32 +0800
committer邱建斌 <qjb@rock-chips.com>2011-07-20 19:34:33 +0800
commit8d130f72430c127532581445b77915142a782206 (patch)
tree9cae954db2b7a6fd6bdcb5fc966b2f7e02a14389 /drivers/headset_observe
parent76527fd2e753a3baf79a3f75a1fb4206ad7c432d (diff)
rk29_phone: fix heatset main mic Call Features
Diffstat (limited to 'drivers/headset_observe')
-rwxr-xr-xdrivers/headset_observe/rk_headset.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/headset_observe/rk_headset.c b/drivers/headset_observe/rk_headset.c
index 1b4469ebbc68..0264230c4e3f 100755
--- a/drivers/headset_observe/rk_headset.c
+++ b/drivers/headset_observe/rk_headset.c
@@ -82,6 +82,11 @@ struct headset_priv {
};
static struct headset_priv *headset_info;
+int Headset_isMic(void)
+{
+ return headset_info->isMic;
+}
+EXPORT_SYMBOL_GPL(Headset_isMic);
static irqreturn_t headset_interrupt(int irq, void *dev_id)
{