[PATCH] firmware: cs_dsp: Move lockdep asserts to avoid potential null pointer