AnsweredAssumed Answered

ad9361 initialize causing watchdog reset

Question asked by rrogers on Aug 10, 2015
Latest reply on Aug 11, 2015 by rrogers



I have an application that starts and stops various SDR functionality based on commands received over the network.  When changing from one SDR function to another, the application resets the 9361 to its device tree defaults using the debugfs initialize entry.  The thought here is that each function will start with the rfic in a known default state, eliminating the need to know how the previous function configured it.  The problem is that using the debugfs initialize method occasionally results in a system hang that results in a watchdog reset (I have narrowed down the hang to the point where the re-init is triggered).  I've talked myself in and out of the need to do the re-init several times (other opinions welcome).  Is there anything in the kernel driver initialize logic that could cause a hang?