
If workqueue creation fails, driver is accessing buffer lists in session close sequence, which is not yet inited and leading to NULL ptr dereferrence issue, while traversing uninitialized list. So added change to avoid accessing list without init completion. Change-Id: Icb3aa6b7edaf27e73873ec289d6a921a2613e77e Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>