* [Bug 204375] kernel 5.2.4 w. KASAN enabled fails to boot on a PowerMac G4 3,6 at very early stage
From: bugzilla-daemon @ 2019-07-31 9:39 UTC (permalink / raw)
To: linuxppc-dev
In-Reply-To: <bug-204375-206035@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=204375
--- Comment #8 from Christophe Leroy (christophe.leroy@c-s.fr) ---
Created attachment 284061
--> https://bugzilla.kernel.org/attachment.cgi?id=284061&action=edit
Screenshot2
Then it reverts to text mode and continue booting
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply
* [Bug 204375] kernel 5.2.4 w. KASAN enabled fails to boot on a PowerMac G4 3,6 at very early stage
From: bugzilla-daemon @ 2019-07-31 10:38 UTC (permalink / raw)
To: linuxppc-dev
In-Reply-To: <bug-204375-206035@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=204375
--- Comment #9 from Erhard F. (erhard_f@mailbox.org) ---
Hmm, nice..
I'll try to get the G4 booting further by prolonging HUNG_TASK_TIMEOUT and
PANIC_TIMEOUT to 10min. Probably the btrfs guys also want to know about this
btrfs deadlock. I try to get a stacktrace, but if I am not successful I hope
it's ok if I borrow your QEMU data from here to open the btrfs bug?
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply
* Re: [PATCH v2 0/5] mm: Enable CONFIG_NODES_SPAN_OTHER_NODES by default for NUMA
From: Mike Rapoport @ 2019-07-31 11:14 UTC (permalink / raw)
To: Michal Hocko
Cc: Heiko Carstens, open list:MEMORY MANAGEMENT, Paul Mackerras,
H . Peter Anvin, sparclinux@vger.kernel.org, Alexander Duyck,
Will Deacon, linux-s390@vger.kernel.org, x86@kernel.org,
willy@infradead.org, Christian Borntraeger, Ingo Molnar,
Hoan Tran OS, Catalin Marinas, Open Source Submission,
Pavel Tatashin, Vasily Gorbik, Will Deacon, Borislav Petkov,
Thomas Gleixner, Vlastimil Babka, Oscar Salvador,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Andrew Morton,
linuxppc-dev@lists.ozlabs.org, David S . Miller
In-Reply-To: <20190731080309.GZ9330@dhcp22.suse.cz>
On Wed, Jul 31, 2019 at 10:03:09AM +0200, Michal Hocko wrote:
> On Wed 31-07-19 09:24:21, Mike Rapoport wrote:
> > [ sorry for a late reply too, somehow I missed this thread before ]
> >
> > On Tue, Jul 30, 2019 at 10:14:15AM +0200, Michal Hocko wrote:
> > > [Sorry for a late reply]
> > >
> > > On Mon 15-07-19 17:55:07, Hoan Tran OS wrote:
> > > > Hi,
> > > >
> > > > On 7/12/19 10:00 PM, Michal Hocko wrote:
> > > [...]
> > > > > Hmm, I thought this was selectable. But I am obviously wrong here.
> > > > > Looking more closely, it seems that this is indeed only about
> > > > > __early_pfn_to_nid and as such not something that should add a config
> > > > > symbol. This should have been called out in the changelog though.
> > > >
> > > > Yes, do you have any other comments about my patch?
> > >
> > > Not really. Just make sure to explicitly state that
> > > CONFIG_NODES_SPAN_OTHER_NODES is only about __early_pfn_to_nid and that
> > > doesn't really deserve it's own config and can be pulled under NUMA.
> > >
> > > > > Also while at it, does HAVE_MEMBLOCK_NODE_MAP fall into a similar
> > > > > bucket? Do we have any NUMA architecture that doesn't enable it?
> > > > >
> >
> > HAVE_MEMBLOCK_NODE_MAP makes huge difference in node/zone initialization
> > sequence so it's not only about a singe function.
>
> The question is whether we want to have this a config option or enable
> it unconditionally for each NUMA system.
We can make it 'default NUMA', but we can't drop it completely because
microblaze uses sparse_memory_present_with_active_regions() which is
unavailable when HAVE_MEMBLOCK_NODE_MAP=n.
> > > > As I checked with arch Kconfig files, there are 2 architectures, riscv
> > > > and microblaze, do not support NUMA but enable this config.
> >
> > My take would be that riscv will support NUMA some day.
> >
> > > > And 1 architecture, alpha, supports NUMA but does not enable this config.
> >
> > alpha's NUMA support is BROKEN for more than a decade now, I doubt it'll
> > ever get fixed.
>
> I can see Al has marked it BROKEN in 2005. Maybe time to rip it out?
> Although it doesn't seem to be a lot of code in arch/alpha at first
> glance so maybe not worth an effort.
> --
> Michal Hocko
> SUSE Labs
>
--
Sincerely yours,
Mike.
^ permalink raw reply
* Applied "ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-29-yuehaibing@huawei.com>
The patch
ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From d61feec0f60c250c786a9e0069ce909979491c7b Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:32 +0800
Subject: [PATCH] ASoC: meson: axg-spdifin: use
devm_platform_ioremap_resource() to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-29-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/meson/axg-spdifin.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/meson/axg-spdifin.c b/sound/soc/meson/axg-spdifin.c
index 01b2035fa841..d0d09f945b48 100644
--- a/sound/soc/meson/axg-spdifin.c
+++ b/sound/soc/meson/axg-spdifin.c
@@ -453,7 +453,6 @@ static int axg_spdifin_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev;
struct axg_spdifin *priv;
struct snd_soc_dai_driver *dai_drv;
- struct resource *res;
void __iomem *regs;
int ret;
@@ -468,8 +467,7 @@ static int axg_spdifin_probe(struct platform_device *pdev)
return -ENODEV;
}
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- regs = devm_ioremap_resource(dev, res);
+ regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(regs))
return PTR_ERR(regs);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-20-yuehaibing@huawei.com>
The patch
ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From a8dc106410a2c3c87917447fb8c132b66062443e Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:23 +0800
Subject: [PATCH] ASoC: jz4740: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-20-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/jz4740.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c
index 974e17fa1911..460aa1fd1efe 100644
--- a/sound/soc/codecs/jz4740.c
+++ b/sound/soc/codecs/jz4740.c
@@ -318,7 +318,6 @@ static int jz4740_codec_probe(struct platform_device *pdev)
{
int ret;
struct jz4740_codec *jz4740_codec;
- struct resource *mem;
void __iomem *base;
jz4740_codec = devm_kzalloc(&pdev->dev, sizeof(*jz4740_codec),
@@ -326,8 +325,7 @@ static int jz4740_codec_probe(struct platform_device *pdev)
if (!jz4740_codec)
return -ENOMEM;
- mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(&pdev->dev, mem);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base))
return PTR_ERR(base);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-16-yuehaibing@huawei.com>
The patch
ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 1c63223cda84fb10643938e4e4eb02110f8ae9a2 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:19 +0800
Subject: [PATCH] ASoC: stm32: sai: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-16-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/stm/stm32_sai.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c
index 63f68e663676..1ac5103cea78 100644
--- a/sound/soc/stm/stm32_sai.c
+++ b/sound/soc/stm/stm32_sai.c
@@ -152,7 +152,6 @@ static int stm32_sai_probe(struct platform_device *pdev)
{
struct stm32_sai_data *sai;
struct reset_control *rst;
- struct resource *res;
const struct of_device_id *of_id;
u32 val;
int ret;
@@ -161,8 +160,7 @@ static int stm32_sai_probe(struct platform_device *pdev)
if (!sai)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- sai->base = devm_ioremap_resource(&pdev->dev, res);
+ sai->base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(sai->base))
return PTR_ERR(sai->base);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-21-yuehaibing@huawei.com>
The patch
ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 2d1ffc7d0f58f6a39a34854e952f5020fc655af0 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:24 +0800
Subject: [PATCH] ASoC: inno_rk3036: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-21-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/inno_rk3036.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/codecs/inno_rk3036.c b/sound/soc/codecs/inno_rk3036.c
index 7feedbb7bbed..14d8fe1c28a4 100644
--- a/sound/soc/codecs/inno_rk3036.c
+++ b/sound/soc/codecs/inno_rk3036.c
@@ -405,7 +405,6 @@ static int rk3036_codec_platform_probe(struct platform_device *pdev)
{
struct rk3036_codec_priv *priv;
struct device_node *of_node = pdev->dev.of_node;
- struct resource *res;
void __iomem *base;
struct regmap *grf;
int ret;
@@ -414,8 +413,7 @@ static int rk3036_codec_platform_probe(struct platform_device *pdev)
if (!priv)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(&pdev->dev, res);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base))
return PTR_ERR(base);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-28-yuehaibing@huawei.com>
The patch
ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 2e73d98f2ecf61008926bb8a425c3281a89959c0 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:31 +0800
Subject: [PATCH] ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-28-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/meson/axg-pdm.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/meson/axg-pdm.c b/sound/soc/meson/axg-pdm.c
index 9d5684493ffc..bfd37d49a73e 100644
--- a/sound/soc/meson/axg-pdm.c
+++ b/sound/soc/meson/axg-pdm.c
@@ -585,7 +585,6 @@ static int axg_pdm_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct axg_pdm *priv;
- struct resource *res;
void __iomem *regs;
int ret;
@@ -600,8 +599,7 @@ static int axg_pdm_probe(struct platform_device *pdev)
return -ENODEV;
}
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- regs = devm_ioremap_resource(dev, res);
+ regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(regs))
return PTR_ERR(regs);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-26-yuehaibing@huawei.com>
The patch
ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From a95c901248642d62dc7462a2d2190c8ac183c84f Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:29 +0800
Subject: [PATCH] ASoC: meson: g12a-tohdmitx: use
devm_platform_ioremap_resource() to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-26-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/meson/g12a-tohdmitx.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/meson/g12a-tohdmitx.c b/sound/soc/meson/g12a-tohdmitx.c
index 9943c807ec5d..9cfbd343a00c 100644
--- a/sound/soc/meson/g12a-tohdmitx.c
+++ b/sound/soc/meson/g12a-tohdmitx.c
@@ -376,12 +376,10 @@ MODULE_DEVICE_TABLE(of, g12a_tohdmitx_of_match);
static int g12a_tohdmitx_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
- struct resource *res;
void __iomem *regs;
struct regmap *map;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- regs = devm_ioremap_resource(dev, res);
+ regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(regs))
return PTR_ERR(regs);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-25-yuehaibing@huawei.com>
The patch
ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 12a63c0fa03691328b948690601dc7dde8fc527b Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:28 +0800
Subject: [PATCH] ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-25-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/au1x/psc-i2s.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
index 076303f96b8c..767ce950d0da 100644
--- a/sound/soc/au1x/psc-i2s.c
+++ b/sound/soc/au1x/psc-i2s.c
@@ -291,7 +291,7 @@ static const struct snd_soc_component_driver au1xpsc_i2s_component = {
static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
{
- struct resource *iores, *dmares;
+ struct resource *dmares;
unsigned long sel;
struct au1xpsc_audio_data *wd;
@@ -300,8 +300,7 @@ static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
if (!wd)
return -ENOMEM;
- iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- wd->mmio = devm_ioremap_resource(&pdev->dev, iores);
+ wd->mmio = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(wd->mmio))
return PTR_ERR(wd->mmio);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-30-yuehaibing@huawei.com>
The patch
ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From c43fd289dd58951f3cfddb3bb66a6ed7747c5986 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:33 +0800
Subject: [PATCH] ASoC: meson: axg-spdifout: use
devm_platform_ioremap_resource() to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-30-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/meson/axg-spdifout.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/meson/axg-spdifout.c b/sound/soc/meson/axg-spdifout.c
index 9dea528053ad..7ce6aa97ddf7 100644
--- a/sound/soc/meson/axg-spdifout.c
+++ b/sound/soc/meson/axg-spdifout.c
@@ -401,7 +401,6 @@ static int axg_spdifout_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct axg_spdifout *priv;
- struct resource *res;
void __iomem *regs;
int ret;
@@ -410,8 +409,7 @@ static int axg_spdifout_probe(struct platform_device *pdev)
return -ENOMEM;
platform_set_drvdata(pdev, priv);
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- regs = devm_ioremap_resource(dev, res);
+ regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(regs))
return PTR_ERR(regs);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-19-yuehaibing@huawei.com>
The patch
ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 72d09322e709c5c2d7112d6a19ec9f3846d3609d Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:22 +0800
Subject: [PATCH] ASoC: mmp-sspa: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-19-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/pxa/mmp-sspa.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c
index 72f4364b2d20..e3e5425b5c62 100644
--- a/sound/soc/pxa/mmp-sspa.c
+++ b/sound/soc/pxa/mmp-sspa.c
@@ -399,7 +399,6 @@ static const struct snd_soc_component_driver mmp_sspa_component = {
static int asoc_mmp_sspa_probe(struct platform_device *pdev)
{
struct sspa_priv *priv;
- struct resource *res;
priv = devm_kzalloc(&pdev->dev,
sizeof(struct sspa_priv), GFP_KERNEL);
@@ -417,8 +416,7 @@ static int asoc_mmp_sspa_probe(struct platform_device *pdev)
if (priv->dma_params == NULL)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- priv->sspa->mmio_base = devm_ioremap_resource(&pdev->dev, res);
+ priv->sspa->mmio_base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(priv->sspa->mmio_base))
return PTR_ERR(priv->sspa->mmio_base);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-17-yuehaibing@huawei.com>
The patch
ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From f62d6426718837663484bbf0ed94e56573cbc365 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:20 +0800
Subject: [PATCH] ASoC: codecs: msm8916-wcd: use
devm_platform_ioremap_resource() to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-17-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/msm8916-wcd-digital.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/codecs/msm8916-wcd-digital.c b/sound/soc/codecs/msm8916-wcd-digital.c
index 1db7e43ec203..9fa5d44fdc79 100644
--- a/sound/soc/codecs/msm8916-wcd-digital.c
+++ b/sound/soc/codecs/msm8916-wcd-digital.c
@@ -1143,7 +1143,6 @@ static int msm8916_wcd_digital_probe(struct platform_device *pdev)
struct msm8916_wcd_digital_priv *priv;
struct device *dev = &pdev->dev;
void __iomem *base;
- struct resource *mem_res;
struct regmap *digital_map;
int ret;
@@ -1151,8 +1150,7 @@ static int msm8916_wcd_digital_probe(struct platform_device *pdev)
if (!priv)
return -ENOMEM;
- mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(&pdev->dev, mem_res);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base))
return PTR_ERR(base);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-31-yuehaibing@huawei.com>
The patch
ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 9b2089313156ad16bd257217cc67e10597a82923 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:34 +0800
Subject: [PATCH] ASoC: meson: axg-fifo: use devm_platform_ioremap_resource()
to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-31-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/meson/axg-fifo.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/meson/axg-fifo.c b/sound/soc/meson/axg-fifo.c
index 01c1c7db2510..80a3dde35b5c 100644
--- a/sound/soc/meson/axg-fifo.c
+++ b/sound/soc/meson/axg-fifo.c
@@ -314,7 +314,6 @@ int axg_fifo_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev;
const struct axg_fifo_match_data *data;
struct axg_fifo *fifo;
- struct resource *res;
void __iomem *regs;
data = of_device_get_match_data(dev);
@@ -328,8 +327,7 @@ int axg_fifo_probe(struct platform_device *pdev)
return -ENOMEM;
platform_set_drvdata(pdev, fifo);
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- regs = devm_ioremap_resource(dev, res);
+ regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(regs))
return PTR_ERR(regs);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-23-yuehaibing@huawei.com>
The patch
ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From b885c9fa363fa4604d78ea00adfed64db656fb78 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:26 +0800
Subject: [PATCH] ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource()
to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-23-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/uniphier/aio-dma.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/uniphier/aio-dma.c b/sound/soc/uniphier/aio-dma.c
index fa001d3c1a88..862346d66774 100644
--- a/sound/soc/uniphier/aio-dma.c
+++ b/sound/soc/uniphier/aio-dma.c
@@ -276,12 +276,10 @@ int uniphier_aiodma_soc_register_platform(struct platform_device *pdev)
{
struct uniphier_aio_chip *chip = platform_get_drvdata(pdev);
struct device *dev = &pdev->dev;
- struct resource *res;
void __iomem *preg;
int irq, ret;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- preg = devm_ioremap_resource(dev, res);
+ preg = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(preg))
return PTR_ERR(preg);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-15-yuehaibing@huawei.com>
The patch
ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From ebdd7be5415c7795c77609ad908222038e441835 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:18 +0800
Subject: [PATCH] ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-15-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/xtensa/xtfpga-i2s.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/xtensa/xtfpga-i2s.c b/sound/soc/xtensa/xtfpga-i2s.c
index 9ce2c75186b9..9da395d14a8d 100644
--- a/sound/soc/xtensa/xtfpga-i2s.c
+++ b/sound/soc/xtensa/xtfpga-i2s.c
@@ -531,7 +531,6 @@ static int xtfpga_i2s_runtime_resume(struct device *dev)
static int xtfpga_i2s_probe(struct platform_device *pdev)
{
struct xtfpga_i2s *i2s;
- struct resource *mem;
int err, irq;
i2s = devm_kzalloc(&pdev->dev, sizeof(*i2s), GFP_KERNEL);
@@ -543,8 +542,7 @@ static int xtfpga_i2s_probe(struct platform_device *pdev)
i2s->dev = &pdev->dev;
dev_dbg(&pdev->dev, "dev: %p, i2s: %p\n", &pdev->dev, i2s);
- mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- i2s->regs = devm_ioremap_resource(&pdev->dev, mem);
+ i2s->regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(i2s->regs)) {
err = PTR_ERR(i2s->regs);
goto err;
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-34-yuehaibing@huawei.com>
The patch
ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 54dd39e4aca8edb231e13349ac3a3a44ef28d3d4 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:37 +0800
Subject: [PATCH] ASoC: sunxi: sun50i-codec-analog: use
devm_platform_ioremap_resource() to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-34-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/sunxi/sun50i-codec-analog.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/sunxi/sun50i-codec-analog.c b/sound/soc/sunxi/sun50i-codec-analog.c
index 6d1de565350e..f5b7069bcca2 100644
--- a/sound/soc/sunxi/sun50i-codec-analog.c
+++ b/sound/soc/sunxi/sun50i-codec-analog.c
@@ -459,12 +459,10 @@ MODULE_DEVICE_TABLE(of, sun50i_codec_analog_of_match);
static int sun50i_codec_analog_probe(struct platform_device *pdev)
{
- struct resource *res;
struct regmap *regmap;
void __iomem *base;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(&pdev->dev, res);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base)) {
dev_err(&pdev->dev, "Failed to map the registers\n");
return PTR_ERR(base);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-35-yuehaibing@huawei.com>
The patch
ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 790b36578e23264ff05be2ba8466ebcf7d3db38a Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:38 +0800
Subject: [PATCH] ASoC: sun8i-codec: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-35-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/sunxi/sun8i-codec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c
index 0e0e8ebaa571..55798bc8eae2 100644
--- a/sound/soc/sunxi/sun8i-codec.c
+++ b/sound/soc/sunxi/sun8i-codec.c
@@ -533,7 +533,6 @@ static const struct regmap_config sun8i_codec_regmap_config = {
static int sun8i_codec_probe(struct platform_device *pdev)
{
- struct resource *res_base;
struct sun8i_codec *scodec;
void __iomem *base;
int ret;
@@ -556,8 +555,7 @@ static int sun8i_codec_probe(struct platform_device *pdev)
return PTR_ERR(scodec->clk_bus);
}
- res_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(&pdev->dev, res_base);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base)) {
dev_err(&pdev->dev, "Failed to map the registers\n");
return PTR_ERR(base);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-32-yuehaibing@huawei.com>
The patch
ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From cf80aa2c1359f5d014981e251049bcc21a2217bc Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:35 +0800
Subject: [PATCH] ASoC: xlnx: use devm_platform_ioremap_resource() to simplify
code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-32-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/xilinx/xlnx_i2s.c | 4 +---
sound/soc/xilinx/xlnx_spdif.c | 3 +--
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/sound/soc/xilinx/xlnx_i2s.c b/sound/soc/xilinx/xlnx_i2s.c
index 8b353166ad44..cc641e582c82 100644
--- a/sound/soc/xilinx/xlnx_i2s.c
+++ b/sound/soc/xilinx/xlnx_i2s.c
@@ -95,7 +95,6 @@ MODULE_DEVICE_TABLE(of, xlnx_i2s_of_match);
static int xlnx_i2s_probe(struct platform_device *pdev)
{
- struct resource *res;
void __iomem *base;
struct snd_soc_dai_driver *dai_drv;
int ret;
@@ -107,8 +106,7 @@ static int xlnx_i2s_probe(struct platform_device *pdev)
if (!dai_drv)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(&pdev->dev, res);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base))
return PTR_ERR(base);
diff --git a/sound/soc/xilinx/xlnx_spdif.c b/sound/soc/xilinx/xlnx_spdif.c
index 3b9000fd8c49..e2ca087adee6 100644
--- a/sound/soc/xilinx/xlnx_spdif.c
+++ b/sound/soc/xilinx/xlnx_spdif.c
@@ -260,8 +260,7 @@ static int xlnx_spdif_probe(struct platform_device *pdev)
return ret;
}
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- ctx->base = devm_ioremap_resource(dev, res);
+ ctx->base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(ctx->base)) {
ret = PTR_ERR(ctx->base);
goto clk_err;
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-18-yuehaibing@huawei.com>
The patch
ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 94db63761576a98279e19f51173dec85f803bad4 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:21 +0800
Subject: [PATCH] ASoC: codecs: jz4725b: use devm_platform_ioremap_resource()
to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-18-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/jz4725b.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/codecs/jz4725b.c b/sound/soc/codecs/jz4725b.c
index 766354c73076..2567a5d15b55 100644
--- a/sound/soc/codecs/jz4725b.c
+++ b/sound/soc/codecs/jz4725b.c
@@ -545,15 +545,13 @@ static int jz4725b_codec_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct jz_icdc *icdc;
- struct resource *mem;
int ret;
icdc = devm_kzalloc(dev, sizeof(*icdc), GFP_KERNEL);
if (!icdc)
return -ENOMEM;
- mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- icdc->base = devm_ioremap_resource(dev, mem);
+ icdc->base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(icdc->base))
return PTR_ERR(icdc->base);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-22-yuehaibing@huawei.com>
The patch
ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 4e5bc35988af2483138feb3c5c3bf5fb0cae4228 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:25 +0800
Subject: [PATCH] ASoC: uniphier: evea: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-22-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/uniphier/evea.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/uniphier/evea.c b/sound/soc/uniphier/evea.c
index f9c10165fbc1..d27e9ca07856 100644
--- a/sound/soc/uniphier/evea.c
+++ b/sound/soc/uniphier/evea.c
@@ -451,7 +451,6 @@ static const struct regmap_config evea_regmap_config = {
static int evea_probe(struct platform_device *pdev)
{
struct evea_priv *evea;
- struct resource *res;
void __iomem *preg;
int ret;
@@ -475,8 +474,7 @@ static int evea_probe(struct platform_device *pdev)
if (IS_ERR(evea->rst_exiv))
return PTR_ERR(evea->rst_exiv);
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- preg = devm_ioremap_resource(&pdev->dev, res);
+ preg = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(preg))
return PTR_ERR(preg);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-24-yuehaibing@huawei.com>
The patch
ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From b1abe8780041d568ae07013a3592519fca855a1c Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:27 +0800
Subject: [PATCH] ASoC: psc-ac97: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-24-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/au1x/psc-ac97.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c
index 21e5f6aed7f3..08bc04e2da2a 100644
--- a/sound/soc/au1x/psc-ac97.c
+++ b/sound/soc/au1x/psc-ac97.c
@@ -363,7 +363,7 @@ static const struct snd_soc_component_driver au1xpsc_ac97_component = {
static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
{
int ret;
- struct resource *iores, *dmares;
+ struct resource *dmares;
unsigned long sel;
struct au1xpsc_audio_data *wd;
@@ -374,8 +374,7 @@ static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
mutex_init(&wd->lock);
- iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- wd->mmio = devm_ioremap_resource(&pdev->dev, iores);
+ wd->mmio = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(wd->mmio))
return PTR_ERR(wd->mmio);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-14-yuehaibing@huawei.com>
The patch
ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 89dd38bf130e661d92c6ab7e3b003907f1d3f367 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:17 +0800
Subject: [PATCH] ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to
simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-14-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/kirkwood/kirkwood-i2s.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c
index 3446a113f482..5076ec4cc7a6 100644
--- a/sound/soc/kirkwood/kirkwood-i2s.c
+++ b/sound/soc/kirkwood/kirkwood-i2s.c
@@ -523,7 +523,6 @@ static int kirkwood_i2s_dev_probe(struct platform_device *pdev)
struct kirkwood_asoc_platform_data *data = pdev->dev.platform_data;
struct snd_soc_dai_driver *soc_dai = kirkwood_i2s_dai;
struct kirkwood_dma_data *priv;
- struct resource *mem;
struct device_node *np = pdev->dev.of_node;
int err;
@@ -533,8 +532,7 @@ static int kirkwood_i2s_dev_probe(struct platform_device *pdev)
dev_set_drvdata(&pdev->dev, priv);
- mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- priv->io = devm_ioremap_resource(&pdev->dev, mem);
+ priv->io = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(priv->io))
return PTR_ERR(priv->io);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-27-yuehaibing@huawei.com>
The patch
ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 10392fcad7dfc8ea38959b18327ff18b81b1c161 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:30 +0800
Subject: [PATCH] ASoC: meson: axg-tdm-formatter: use
devm_platform_ioremap_resource() to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-27-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/meson/axg-tdm-formatter.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/meson/axg-tdm-formatter.c b/sound/soc/meson/axg-tdm-formatter.c
index 2e498201139f..21c735afab35 100644
--- a/sound/soc/meson/axg-tdm-formatter.c
+++ b/sound/soc/meson/axg-tdm-formatter.c
@@ -253,7 +253,6 @@ int axg_tdm_formatter_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev;
const struct axg_tdm_formatter_driver *drv;
struct axg_tdm_formatter *formatter;
- struct resource *res;
void __iomem *regs;
int ret;
@@ -269,8 +268,7 @@ int axg_tdm_formatter_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, formatter);
formatter->drv = drv;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- regs = devm_ioremap_resource(dev, res);
+ regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(regs))
return PTR_ERR(regs);
--
2.20.1
^ permalink raw reply related
* Applied "ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
To: YueHaibing
Cc: mripard, alsa-devel, olivier.moysan, Xiubo.Lee, linux-kernel,
paul, jcmvbkbc, thierry.reding, shawnguo, festevam, linux-stm32,
jbrunet, f.fainelli, khilman, tiwai, michal.simek, jonathanh,
Hulk Robot, wens, bcm-kernel-feedback-list, linux-imx, s.hauer,
matthias.bgg, linux-xtensa, alexandre.torgue, yamada.masahiro,
rjui, robert.jarzmik, haojian.zhuang, nicoleotsuka, Mark Brown,
linux-mediatek, linux-rpi-kernel, linux-tegra, linux-amlogic,
perex, linux-arm-kernel, mcoquelin.stm32, baohua, timur, sbranden,
eric, gregkh, arnaud.pouliquen, lgirdwood, wahrenst, kernel,
linuxppc-dev, daniel
In-Reply-To: <20190727150738.54764-33-yuehaibing@huawei.com>
The patch
ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From e12fd61fd7c1bbbb758ede9fdf58ac2bd5de6b33 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:36 +0800
Subject: [PATCH] ASoC: sun8i-codec-analog: use
devm_platform_ioremap_resource() to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-33-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/sunxi/sun8i-codec-analog.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/sunxi/sun8i-codec-analog.c b/sound/soc/sunxi/sun8i-codec-analog.c
index e92aeedd6feb..be872eefa61e 100644
--- a/sound/soc/sunxi/sun8i-codec-analog.c
+++ b/sound/soc/sunxi/sun8i-codec-analog.c
@@ -819,12 +819,10 @@ MODULE_DEVICE_TABLE(of, sun8i_codec_analog_of_match);
static int sun8i_codec_analog_probe(struct platform_device *pdev)
{
- struct resource *res;
struct regmap *regmap;
void __iomem *base;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(&pdev->dev, res);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base)) {
dev_err(&pdev->dev, "Failed to map the registers\n");
return PTR_ERR(base);
--
2.20.1
^ permalink raw reply related
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox