ASoC: rt5514: Add the sanity checks of the buffer related address
authoroder_chiou@realtek.com <oder_chiou@realtek.com>
Mon, 31 Jul 2017 05:47:42 +0000 (13:47 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 1 Aug 2017 13:12:37 +0000 (14:12 +0100)
commit818010dac09183e99ff02e35836544b2e1d659f3
treeaedfcd3ca05ce1cb6bbd7975a7867f0df807c7c9
parentc2bf252536577db77c719f62a54cad2e4be5c4d7
ASoC: rt5514: Add the sanity checks of the buffer related address

The patch add the sanity checks of the buffer related address to make sure
the addresses are valid.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5514-spi.c