msm: ipa3: code changes to fix kernel panic error
This Issue is seen by Enabling CONFIG_DEBUG_ATOMIC_SLEEP=y and boot the
device.To avoid going into kernel panic state,changed the function
calls order of spin_lock() and idr_preload() after calling
kmem_cache_zalloc().Originally, these two functions were called
before calling kmem_cache_zalloc().
Change-Id: I2738548abd4148828e7d9436415c5c4d769680b9
Signed-off-by:
Jagadeesh Ponduru <jponduru@codeaurora.org>
Loading
Please register or sign in to comment