android_kernel_xiaomi_sm8350/arch/arm/mach-s3c24xx
Randy Dunlap a5476f8d35 ARM: 9187/1: JIVE: fix return value of __setup handler
[ Upstream commit 8b2360c7157b462c4870d447d1e65d30ef31f9aa ]

__setup() handlers should return 1 to obsolete_checksetup() in
init/main.c to indicate that the boot option has been handled.
A return of 0 causes the boot option/value to be listed as an Unknown
kernel parameter and added to init's (limited) argument or environment
strings. Also, error return codes don't mean anything to
obsolete_checksetup() -- only non-zero (usually 1) or zero.
So return 1 from jive_mtdset().

Fixes: 9db829f485 ("[ARM] JIVE: Initial machine support for Logitech Jive")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: patches@armlinux.org.uk
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-15 14:18:31 +02:00
..
include/mach
anubis.h
bast-ide.c
bast-irq.c
bast.h
common-smdk.c
common-smdk.h
common.c
common.h
cpufreq-utils.c
fb-core.h
gta02.h
h1940-bluetooth.c
h1940.h
iotiming-s3c2410.c
iotiming-s3c2412.c
irq-pm.c
Kconfig
mach-amlm5900.c
mach-anubis.c
mach-at2440evb.c
mach-bast.c
mach-gta02.c
mach-h1940.c
mach-jive.c
mach-mini2440.c
mach-n30.c
mach-nexcoder.c
mach-osiris-dvs.c
mach-osiris.c
mach-otom.c
mach-qt2410.c
mach-rx1950.c
mach-rx3715.c
mach-s3c2416-dt.c
mach-smdk2410.c
mach-smdk2413.c
mach-smdk2416.c
mach-smdk2440.c
mach-smdk2443.c
mach-tct_hammer.c
mach-vr1000.c
mach-vstms.c
Makefile
Makefile.boot
nand-core.h
osiris.h
otom.h
pll-s3c2410.c
pll-s3c2440-12000000.c
pll-s3c2440-16934400.c
pm-h1940.S
pm-s3c2410.c
pm-s3c2412.c
pm-s3c2416.c
pm.c
regs-dsc.h
regs-mem.h
s3c244x.c
s3c2410.c
s3c2412-power.h
s3c2412.c
s3c2416.c
s3c2440.c
s3c2442.c
s3c2443.c
setup-camif.c
setup-i2c.c
setup-sdhci-gpio.c
setup-spi.c
setup-ts.c
simtec-audio.c
simtec-nor.c
simtec-pm.c
simtec-usb.c
simtec.h
sleep-s3c2410.S
sleep-s3c2412.S
sleep.S
spi-core.h
vr1000.h