diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-01-23 00:41:24 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-23 11:17:56 +0000 |
commit | 971da24c48a9447fb7a3c7805812fd5f443ca008 (patch) | |
tree | 00fb0782e837b6bc47176814918bab0df25f0294 /lib/test_parman.c | |
parent | 031734b7d6532633d0cde73475c30646bf37cd6d (diff) | |
download | linux-971da24c48a9447fb7a3c7805812fd5f443ca008.tar.gz linux-971da24c48a9447fb7a3c7805812fd5f443ca008.tar.bz2 linux-971da24c48a9447fb7a3c7805812fd5f443ca008.zip |
ASoC: soc-core: snd_soc_rtdcom_lookup() cares component driver name
snd_soc_rtdcom_lookup() look up component by uisng driver name.
Then, it uses component->driver->name.
Some driver might doesn't have it, thus it should care NULL pointer.
This patch solve this issue.
Reported-by: Mukunda,Vijendar <vijendar.mukunda@amd.com>
Reported-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Mukunda,Vijendar <vijendar.mukunda@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/test_parman.c')
0 files changed, 0 insertions, 0 deletions