Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'omap-for-v5.4/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/soc

SoC changes for omap variants for v5.4

The first change moves platform-specific asm-offsets.h to arch/arm/mach-omap2
to fix iessu with parallel build with CONFIG_IKHEADERS, and the second change
removes a useless kfree.

Note that the first change causes a trivial merge conflict with the iommu
changes for arch/arm/mach-omap2/Makefile.

* tag 'omap-for-v5.4/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: Delete an unnecessary kfree() call in omap_hsmmc_pdata_init()
ARM: OMAP2+: move platform-specific asm-offset.h to arch/arm/mach-omap2

Link: https://lore.kernel.org/r/pull-1567016893-318461@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+7 -7
+1
arch/arm/mach-omap2/.gitignore
··· 1 + pm-asm-offsets.h
+3 -2
arch/arm/mach-omap2/Makefile
··· 223 223 224 224 obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o 225 225 226 - include/generated/ti-pm-asm-offsets.h: arch/arm/mach-omap2/pm-asm-offsets.s FORCE 226 + $(obj)/pm-asm-offsets.h: $(obj)/pm-asm-offsets.s FORCE 227 227 $(call filechk,offsets,__TI_PM_ASM_OFFSETS_H__) 228 228 229 - $(obj)/sleep33xx.o $(obj)/sleep43xx.o: include/generated/ti-pm-asm-offsets.h 229 + $(obj)/sleep33xx.o $(obj)/sleep43xx.o: $(obj)/pm-asm-offsets.h 230 230 231 231 targets += pm-asm-offsets.s 232 + clean-files += pm-asm-offsets.h
+1 -3
arch/arm/mach-omap2/hsmmc.c
··· 32 32 char *hc_name; 33 33 34 34 hc_name = kzalloc(HSMMC_NAME_LEN + 1, GFP_KERNEL); 35 - if (!hc_name) { 36 - kfree(hc_name); 35 + if (!hc_name) 37 36 return -ENOMEM; 38 - } 39 37 40 38 snprintf(hc_name, (HSMMC_NAME_LEN + 1), "mmc%islot%i", c->mmc, 1); 41 39 mmc->name = hc_name;
+1 -1
arch/arm/mach-omap2/sleep33xx.S
··· 6 6 * Dave Gerlach, Vaibhav Bedia 7 7 */ 8 8 9 - #include <generated/ti-pm-asm-offsets.h> 10 9 #include <linux/linkage.h> 11 10 #include <linux/platform_data/pm33xx.h> 12 11 #include <linux/ti-emif-sram.h> ··· 14 15 15 16 #include "iomap.h" 16 17 #include "cm33xx.h" 18 + #include "pm-asm-offsets.h" 17 19 18 20 #define AM33XX_CM_CLKCTRL_MODULESTATE_DISABLED 0x00030000 19 21 #define AM33XX_CM_CLKCTRL_MODULEMODE_DISABLE 0x0003
+1 -1
arch/arm/mach-omap2/sleep43xx.S
··· 6 6 * Dave Gerlach, Vaibhav Bedia 7 7 */ 8 8 9 - #include <generated/ti-pm-asm-offsets.h> 10 9 #include <linux/linkage.h> 11 10 #include <linux/ti-emif-sram.h> 12 11 #include <linux/platform_data/pm33xx.h> ··· 18 19 #include "iomap.h" 19 20 #include "omap-secure.h" 20 21 #include "omap44xx.h" 22 + #include "pm-asm-offsets.h" 21 23 #include "prm33xx.h" 22 24 #include "prcm43xx.h" 23 25