ASoC: davinci - Fix possible NULL derefrence.
authorShailendra Verma <shailendra.v@samsung.com>
Fri, 27 Jan 2017 11:10:57 +0000 (16:40 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 27 Jan 2017 11:58:54 +0000 (11:58 +0000)
commit3f81d9aa80ae4b513416440e416a6486ef2ad817
tree5757171f3fcac3c89859764354ac93945f258e64
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: davinci - Fix possible NULL derefrence.

of_match_device could return NULL, and so can cause a NULL
pointer dereference later.

Signed-off-by: Shailendra Verma <shailendra.v@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-evm.c