diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-01 08:36:12 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-01 08:36:12 +0200 |
commit | 50de417b7a5bfe8ab5c571427703f67c934736dc (patch) | |
tree | c791889f8e1c325e286eea593743cc4a24732e07 /sound/soc/sunxi/sun4i-codec.c | |
parent | 459d2320dc21bd69533589d2f0a37ca942edefb7 (diff) | |
parent | 192664528154a84fab4e6d820f9cb2e2e0835544 (diff) | |
download | linux-50de417b7a5bfe8ab5c571427703f67c934736dc.tar.gz linux-50de417b7a5bfe8ab5c571427703f67c934736dc.tar.bz2 linux-50de417b7a5bfe8ab5c571427703f67c934736dc.zip |
Merge tag 'asoc-v5.14' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v5.14
This release sees a nice new feature in the core from Morimoto-san,
support for automatic negotiation of DAI formats between the components
on the link. Otherwise the big highlight was the merging of the Tegra
machine drivers into a single driver avoiding a bunch of duplication.
- Support for automatic negotiation of DAI formats.
- Accessory detection support for several Qualcomm parts.
- Support for IEC958 control with hdmi-codec.
- Merging of Tegra machine drivers into a single driver.
- Support for AmLogic SM1 TOACODEC, Intel AlderLake-M, several NXP
i.MX8 variants, NXP TFA1 and TDF9897, Rockchip RK817, Qualcomm
Quinary MI2S, Texas Instruments TAS2505
Diffstat (limited to 'sound/soc/sunxi/sun4i-codec.c')
-rw-r--r-- | sound/soc/sunxi/sun4i-codec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 6f3d9148a185..da597e456beb 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi/sun4i-codec.c @@ -1709,8 +1709,7 @@ static int sun4i_codec_probe(struct platform_device *pdev) scodec->dev = &pdev->dev; - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - base = devm_ioremap_resource(&pdev->dev, res); + base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); if (IS_ERR(base)) return PTR_ERR(base); |