ASoC: simple-card-utils: accept NULL parameter on asoc_simple_card_xxx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 21 Nov 2018 02:09:16 +0000 (02:09 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 21 Nov 2018 13:28:19 +0000 (13:28 +0000)
commitf31a17105560f5f074f4d26fd5469a221f50af18
treec4f1fd80f734ee43bd67d142d65eb9abd70805b1
parentc0f4697c5dbca0c9bdd1264bcf2d7c5d15a14f67
ASoC: simple-card-utils: accept NULL parameter on asoc_simple_card_xxx()

If simple-card-utils accept NULL pointer on asoc_simple_card_xxx(),
each driver code will be more simple.
Let's accept NULL pointer.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card-utils.c