summaryrefslogtreecommitdiffstats
path: root/sound/soc/zte
Commit message (Collapse)AuthorAgeFilesLines
*-. Merge remote-tracking branches 'asoc/topic/wm8996', 'asoc/topic/xtensa' and ↵Mark Brown2015-08-301-3/+3
|\ \ | | | | | | | | | 'asoc/topic/zx296702' into asoc-next
| | * ASoC: zx296702-i2s: Fix resource leak when unload moduleAxel Lin2015-08-301-3/+3
| |/ | | | | | | | | | | | | | | | | | | | | Use devm_* API to fix leaks in current code. 1. Use devm_kzalloc to fix memory leak for zx_i2s when unload the module. 2. Use devm_snd_soc_register_component to ensure component is unregistered when unload the module. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
* | ASoC: zx: spdif: Fix devm_ioremap_resource return value checkKrzysztof Kozlowski2015-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | Value returned by devm_ioremap_resource() was checked for non-NULL but devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of error this could lead to dereference of ERR_PTR. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Reviewed-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
* | ASoC: zx: i2s: Fix devm_ioremap_resource return value checkKrzysztof Kozlowski2015-07-131-2/+2
|/ | | | | | | | | | Value returned by devm_ioremap_resource() was checked for non-NULL but devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of error this could lead to dereference of ERR_PTR. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Reviewed-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: zx: fix platform_no_drv_owner.cocci warningskbuild test robot2015-06-041-1/+0
| | | | | | | | | | | sound/soc/zte/zx296702-i2s.c:428:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: zte: Fix missing dev in devm operationMark Brown2015-06-041-1/+1
| | | | Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: zx: fix simple_return.cocci warningskbuild test robot2015-06-041-5/+1
| | | | | | | | | | | sound/soc/zte/zx296702-spdif.c:191:1-4: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: zx: fix platform_no_drv_owner.cocci warningskbuild test robot2015-06-041-1/+0
| | | | | | | | | | | sound/soc/zte/zx296702-spdif.c:361:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: zx: zx_i2s_dai can be statickbuild test robot2015-06-041-1/+1
| | | | | Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: zx: Add ZTE zx296702 I2S DAI driverJun Nie2015-06-043-0/+447
| | | | | | | Add ZTE zx296702 I2S interface DAI driver Signed-off-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: zx: Add zx296702 SPDIF supportJun Nie2015-06-043-0/+379
Add driver for zx296702 SPDIF controller Signed-off-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
OpenPOWER on IntegriCloud