]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: wm8962: Fix null pointer pdata access in I2C probe()
authorNicolin Chen <b42378@freescale.com>
Tue, 29 Oct 2013 09:06:27 +0000 (17:06 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 29 Oct 2013 16:33:51 +0000 (09:33 -0700)
commitb5ef3f2a8074af7aef9a32f4535c57f986364a60
tree40fbe74c16387f8e2ce8426775d095c8d5ba76a4
parent78b78f5c019e5c68c88afad4b0d3070becde939e
ASoC: wm8962: Fix null pointer pdata access in I2C probe()

When using DT binding to pass private data, there would be Kernel panic
occuring due to NULL pointer access in wm8962_i2c_probe(). Thus fix it.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8962.c