01021832 Exception occurs in bluesleep
發表於 : 2013年 4月 7日, 23:12
Subject
Exception occurs in bluesleep
Description
Dear Qualcomm support team,
We meet some problem while porting our bluesleep driver from BSP 2045 ICS to BSP 2535 JB.
There is a exception occurs while bluetooth waking up and turning on high speed UART's clock.
(Please refrer to the log in attachment)
The root cause is that the isr-handler of bluesleep calls the function 'clk_prepare_enable' which is only used in non-atomic context.
Comparing the msm_serial_hs.c between 2045 and 2535, we find there is one more mutex in 2535, and the function 'clk_enable' is replaced by 'clk_prepare_enable'.
We don't know whether the mutex and clk_prepare are necessary, but wihout the mutex and clk_prepare, the exception would not occur.
We want to know shall we just remove them or if there is any patch to fix the exception?
Thank you.
Exception occurs in bluesleep
Description
Dear Qualcomm support team,
We meet some problem while porting our bluesleep driver from BSP 2045 ICS to BSP 2535 JB.
There is a exception occurs while bluetooth waking up and turning on high speed UART's clock.
(Please refrer to the log in attachment)
The root cause is that the isr-handler of bluesleep calls the function 'clk_prepare_enable' which is only used in non-atomic context.
Comparing the msm_serial_hs.c between 2045 and 2535, we find there is one more mutex in 2535, and the function 'clk_enable' is replaced by 'clk_prepare_enable'.
We don't know whether the mutex and clk_prepare are necessary, but wihout the mutex and clk_prepare, the exception would not occur.
We want to know shall we just remove them or if there is any patch to fix the exception?
Thank you.