Skip to content

Commit 3091a9e

Browse files
committed
Merge tag 'amlogic-fixes-v5.13-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into arm/fixes
Amlogic fixes for v5.13-rc1 - arm64: meson: select COMMON_CLK to select a proper implementation of the clock API - soc: amlogic: meson-clk-measure: remove redundant dev_err call in meson_msr_probe() * tag 'amlogic-fixes-v5.13-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux: arm64: meson: select COMMON_CLK soc: amlogic: meson-clk-measure: remove redundant dev_err call in meson_msr_probe() Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Olof Johansson <[email protected]>
2 parents 3a2d3ae + 4cce442 commit 3091a9e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

arch/arm64/Kconfig.platforms

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ config ARCH_MEDIATEK
165165

166166
config ARCH_MESON
167167
bool "Amlogic Platforms"
168+
select COMMON_CLK
168169
select MESON_IRQ_GPIO
169170
help
170171
This enables support for the arm64 based Amlogic SoCs

drivers/soc/amlogic/meson-clk-measure.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,10 +626,8 @@ static int meson_msr_probe(struct platform_device *pdev)
626626

627627
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
628628
base = devm_ioremap_resource(&pdev->dev, res);
629-
if (IS_ERR(base)) {
630-
dev_err(&pdev->dev, "io resource mapping failed\n");
629+
if (IS_ERR(base))
631630
return PTR_ERR(base);
632-
}
633631

634632
priv->regmap = devm_regmap_init_mmio(&pdev->dev, base,
635633
&meson_clk_msr_regmap_config);

0 commit comments

Comments
 (0)