summaryrefslogtreecommitdiffstats
path: root/sound/soc/zte/zx296702-i2s.c
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: zte: spdif and i2s drivers are not zx296702 specificShawn Guo2016-12-081-436/+0
| | | | | | | | | | | ZTE ZX SPDIF and I2S drivers can work on not only ZX296702 but also other ZTE ZX family SoCs like ZX296718, which is an arm64 platform. Let's make a few renaming and tweak the Kconfig a bit to get the drivers available for other ZTE ZX platforms. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
*-. 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: 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: 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-041-0/+437
Add ZTE zx296702 I2S interface DAI driver Signed-off-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
OpenPOWER on IntegriCloud