ASoC: soundwire: add null check before pointer dereference.

Pointer to soundwire register map returned from
dev_get_name may be null.
Add null check before dereference.

CRs-Fixed: 1059492
Change-Id: I0d96a64b866f4ef10e237e8780fefbd8139a878d
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
1 file changed