linux-stable/arch/arm/mach-omap1
Yang Yingliang 2aaf2c98eb ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
[ Upstream commit 0414a100d6 ]

If platform_device_add() is not called or failed, it should call
platform_device_put() in error case.

Fixes: 97933d6ced ("ARM: OMAP1: dmtimer: conversion to platform devices")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Message-Id: <20220701094602.2365099-1-yangyingliang@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:31:32 +01:00
..
include/mach ARM: OMAP1: fix USB configuration for device-only setups 2019-12-05 09:20:00 +01:00
Kconfig ARM: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource 2018-02-22 10:53:52 -08:00
Makefile ARM: OMAP1: fix USB configuration for device-only setups 2019-12-05 09:20:00 +01:00
Makefile.boot
ams-delta-fiq-handler.S ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack 2019-09-21 07:16:50 +02:00
ams-delta-fiq.c ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack 2019-09-21 07:16:50 +02:00
ams-delta-fiq.h Input: ams_delta_serio: use IRQ resource 2018-07-02 23:05:14 -07:00
board-ams-delta.c ARM: OMAP1: ams-delta: Fix possible use of uninitialized field 2018-12-17 09:24:30 +01:00
board-fsample.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-generic.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-h2-mmc.c mfd: tps65010: Move header file out of I2C realm 2017-08-15 08:27:22 +01:00
board-h2.c ARM: OMAP1: constify gpio_led 2018-07-02 04:09:35 -07:00
board-h2.h
board-h3-mmc.c mfd: tps65010: Move header file out of I2C realm 2017-08-15 08:27:22 +01:00
board-h3.c ARM: OMAP1: constify gpio_led 2018-07-02 04:09:35 -07:00
board-h3.h
board-htcherald.c ARM: OMAP1: constify gpio_led 2018-07-02 04:09:35 -07:00
board-innovator.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-nand.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
board-nokia770.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-osk.c ARM: OMAP1: constify gpio_led 2018-07-02 04:09:35 -07:00
board-palmte.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-palmtt.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-palmz71.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-perseus2.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-sx1-mmc.c ARM: OMAP1: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:41:59 -07:00
board-sx1.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-sx1.h ARM: omap1: make headers more local 2015-12-01 21:52:50 +01:00
camera.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock.c ARM: OMAP1: clock: Fix UART rate reporting algorithm 2022-06-14 16:59:18 +02:00
clock.h ARM: OMAP: clock: Remove unused mpurate cmdline option 2017-01-24 07:20:02 -08:00
clock_data.c
common.h i2c: omap: move header to platform_data 2018-05-17 16:27:58 +02:00
devices.c ARM: OMAP1: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:41:59 -07:00
dma.c ARM: OMAP1: DMA: Delete an unnecessary return statement in omap1_show_dma_caps() 2017-06-06 23:54:00 -07:00
fb.c ARM: OMAP1: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:41:59 -07:00
flash.c ARM: omap1: make headers more local 2015-12-01 21:52:50 +01:00
flash.h ARM: omap1: make headers more local 2015-12-01 21:52:50 +01:00
fpga.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
fpga.h
gpio7xx.c ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
gpio15xx.c
gpio16xx.c ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
i2c.c i2c: omap: move header to platform_data 2018-05-17 16:27:58 +02:00
i2c.h ARM: OMAP: Move plat/i2c.h into mach-omap1 folder 2018-02-14 10:28:13 -08:00
id.c ARM: OMAP1/2: fix SoC name printing 2019-12-13 08:52:11 +01:00
io.c
iomap.h
irq.c ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
lcd_dma.c
mcbsp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
mmc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mux.c ARM: OMAP1: Fix section mismatch warnings for omap_cfg_reg 2015-05-21 14:50:23 -07:00
ocpi.c omap16xx: Removes fixme no longer needed in ocpi_enable() 2014-07-08 01:15:36 -07:00
opp.h
opp_data.c
pm.c ARM: OMAP: replace setup_irq() by request_irq() 2021-07-11 12:49:31 +02:00
pm.h
pm_bus.c arm: omap1: remove boilerplate code and use USE_PM_CLK_RUNTIME_OPS 2015-05-12 23:55:38 +02:00
reset.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
serial.c ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
sleep.S
soc.h
sram-init.c
sram.S
sram.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
time.c ARM: OMAP: replace setup_irq() by request_irq() 2021-07-11 12:49:31 +02:00
timer.c ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init() 2023-03-11 16:31:32 +01:00
timer32k.c ARM: OMAP: replace setup_irq() by request_irq() 2021-07-11 12:49:31 +02:00
usb.c ARM: OMAP1: USB: delete redundant CPU class checks 2017-01-05 09:34:18 -08:00