Merge tag 'at91-5.2-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux...
authorOlof Johansson <olof@lixom.net>
Thu, 16 May 2019 18:05:11 +0000 (11:05 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 16 May 2019 18:05:11 +0000 (11:05 -0700)
AT91 SoC for 5.2

 - PM changes for SAM9X60

* tag 'at91-5.2-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: at91: pm: do not disable/enable PLLA for ULP modes
  ARM: at91: pm: disable RC oscillator in ULP0
  ARM: at91: pm: add ULP1 support for SAM9X60
  ARM: at91: pm: add support for per SoC wakeup source configuration
  ARM: at91: pm: keep at91_pm_backup_init() only for SAMA5D2 SoCs
  ARM: at91: pm: initial PM support for SAM9X60
  dt-bindings: arm: atmel: add binding for SAM9X60 SoC
  ARM: at91: pm: introduce at91_soc_pm structure

Signed-off-by: Olof Johansson <olof@lixom.net>
1  2 
arch/arm/mach-at91/pm.c
include/linux/clk/at91_pmc.h

index 2a757dcaa1a5e9d63b5ae47833ef31d12ab94aa2,5571658b3c46760cda4c656fd6662e17709ef51f..6c8147536f3dbe2d41522745e2c70f22ca7af33a
@@@ -620,10 -676,8 +676,10 @@@ static int __init at91_pm_backup_init(v
        return 0;
  
  securam_fail:
-       iounmap(pm_data.sfrbu);
-       pm_data.sfrbu = NULL;
 +      put_device(&pdev->dev);
 +securam_fail_no_ref_dev:
+       iounmap(soc_pm.data.sfrbu);
+       soc_pm.data.sfrbu = NULL;
        return ret;
  }
  
Simple merge