S Sachin Kamat #
Message details and related content
Hi, I encountered a kernel crash while integrating Pixcir touchscreen driver with one of our hardware. The log is attached at the end of the mail (inline). The following ISR code: while (!tsdata->exiting) { pixcir_ts_poscheck(tsdata); if (tsdata->chip->attb_read_val()) break; msleep(20); } seems to run until the if condition is false. However, when it exits the loop (when the condition becomes true), it crashes saying "exiting task "irq/438-pixcir_" (1011) is an active IRQ thread". I have 2 questions here: 1. Do we need such a loop and the if condition. In my case it worked with the isr just doing pixcir_ts_poscheck(tsdata); 2. What exactly is expected by attb_read_val() function. Any pointers would be helpful. ***** Unable to handle kernel paging request at virtual address e7fddef0 pgd = cf9e4000 [e7fddef0] *pgd=00000000 Internal error: Oops: 80000005 [#1] PREEMPT SMP ARM Modules linked in: CPU: 1 Not tainted (3.4.0-rc3-00050-g718e84c-dirty #24) PC is at 0xe7fddef0 LR is at pixcir_ts_isr+0x7c/0x210 pc : [<e7fddef0>] lr : [<c01aaa68>] psr: 60000013