25 Jul
2013
25 Jul
'13
11:15 a.m.
On Thu, Jul 25, 2013 at 11:36:42AM +0800, Bard Liao wrote:
Usually, our customers use cpu's gpio as the interrupt pin of jack insert/remove. So we assume they will handle the interrupt event in machine driver. When machine driver get a jack insert/remove event, it will call this function to know the jack type(headset or headphone). Should I handle the interrupt event in codec driver?
Yes, of course. Interrupts are just interrupts on Linux.