Headset detection

28 views
Skip to first unread message

raj raja

unread,
Jun 22, 2012, 2:12:05 AM6/22/12
to omapd...@googlegroups.com
Hi,

TI audio codec(aic3256) connected with Panda board 4430. I requested irq of HEADset detection with GPIO_3

irq = gpio_to_irq(3)

request_threaded_irq(irq,NULL,test_function,IRQF_TRIGGER_RISING| IRQF_TRIGGER_FALLING,"mycodec",priv);

But When i inserted/removed, i am not getting called the test_function.

Can you tell me, am i using proper GPIO number ?


Thanks

Yuvi

raviraj somnache

unread,
Jun 22, 2012, 2:55:40 AM6/22/12
to omapd...@googlegroups.com
Hi Yuvi,

Are you setting GPIO as an input or not...?

Regards,
Raviraj
Reply all
Reply to author
Forward
0 new messages