ASoC: simple-card: Dereference pointer for memcpy sizeof in asoc_simple_card_probe
authorNathan Chancellor <natechancellor@gmail.com>
Thu, 13 Dec 2018 05:15:20 +0000 (14:15 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 11:16:46 +0000 (11:16 +0000)
commit869858f84a65b646052eff1ec75c1f49e638b62b
tree03060c41ecd49cdc62246535ef700058b71ff447
parentf0b3f8418711d2e482bd57d6c0b5790947ca6863
ASoC: simple-card: Dereference pointer for memcpy sizeof in asoc_simple_card_probe

Commit 4fb7f4df49d3 ("ASoC: simple-card: use cpu/codec pointer on
simple_dai_props") updated {cpu,codec}_dai to be pointers in struct
simple_dai_props but didn't update these locations to dereference the
pointers.
This patch fixup it for non DT simple-card use case.

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