Skip to content

Commit

Permalink
Merge tag 'imx-soc-6.13' of https://git.kernel.org/pub/scm/linux/kern…
Browse files Browse the repository at this point in the history
…el/git/shawnguo/linux into soc/arm

i.MX SoC changes for 6.13:

- A change from Andrew Davis to convert i.MX6 PM code to use new
  sys-off API

* tag 'imx-soc-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: imx: Switch to new sys-off handler API

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
arndb committed Nov 12, 2024
2 parents d95fa0f + 2f76989 commit 9c6cb03
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/arm/mach-imx/pm-imx6.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,13 +634,11 @@ static void imx6_pm_stby_poweroff(void)

static int imx6_pm_stby_poweroff_probe(void)
{
if (pm_power_off) {
pr_warn("%s: pm_power_off already claimed %p %ps!\n",
__func__, pm_power_off, pm_power_off);
if (register_platform_power_off(imx6_pm_stby_poweroff)) {
pr_warn("%s: platform power off already claimed!\n", __func__);
return -EBUSY;
}

pm_power_off = imx6_pm_stby_poweroff;
return 0;
}

Expand Down

0 comments on commit 9c6cb03

Please sign in to comment.