aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2021-03-23 02:09:53 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2021-07-28 16:33:07 +0300
commitc29b6b0b126e9ee69a5d6339475e831a149295bd (patch)
treef29ab835594feee9da45a6273ec815bd2d85f71e /drivers
parentdrm: rcar-du: Shutdown the display on system shutdown (diff)
downloadlinux-c29b6b0b126e9ee69a5d6339475e831a149295bd.tar.gz
linux-c29b6b0b126e9ee69a5d6339475e831a149295bd.zip
drm: rcar-du: Don't put reference to drm_device in rcar_du_remove()
The reference to the drm_device that was acquired by devm_drm_dev_alloc() is released automatically by the devres infrastructure. It must not be released manually, as that causes a reference underflow.. Fixes: ea6aae151887 ("drm: rcar-du: Embed drm_device in rcar_du_device") Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 978828681313..44b18fa525f0 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -556,8 +556,6 @@ static int rcar_du_remove(struct platform_device *pdev)
drm_kms_helper_poll_fini(ddev);
- drm_dev_put(ddev);
-
return 0;
}
>perf cs-etm: Freeing allocated memoryMathieu Poirier1-0/+6 2018-02-16perf tests: Use arch__compare_symbol_names to compare symbolsJiri Olsa1-1/+1 2018-02-16perf tools: Do not create kernel maps in sample__resolve()Jiri Olsa1-11/+0 2018-02-16perf machine: Remove machine__load_kallsyms()Jiri Olsa3-13/+5 2018-02-16perf machine: Don't search for active kernel start in __machine__create_kerne...Jiri Olsa2-30/+26 2018-02-16perf machine: Generalize machine__set_kernel_mmap()Jiri Olsa1-6/+7 2018-02-16perf machine: Move kernel mmap name into struct machineJiri Olsa5-49/+39 2018-02-16perf machine: Free root_dir in machine__init() error pathJiri Olsa1-1/+7 2018-02-16perf symbols: Check if we read regular file in dso__load()Jiri Olsa1-6/+4 2018-02-16tools lib symbol: Skip non-address kallsyms lineJiri Olsa1-0/+4 2018-02-16perf stat: Add support to print counts after a period of timeyuzhoujian3-2/+37 2018-02-16perf stat: Add support to print counts for fixed timesyuzhoujian3-1/+25 2018-02-16perf report: Add support to display group output for non group eventsJiri Olsa2-2/+7 2018-02-16perf report: Ask for ordered events for --tasks optionJiri Olsa1-0/+1 2018-02-16perf tools: Fix comment for sort__* compare functionsJiri Olsa1-2/+5 2018-02-16perf tests: Fix dwarf unwind for stripped binariesJiri Olsa1-16/+30 2018-02-16tools lib api fs: Add sysfs__read_xll functionJiri Olsa2-2/+14 2018-02-16tools lib api fs: Add filename__read_xll functionJiri Olsa2-7/+23 2018-02-16perf script: Add --show-round-event to display PERF_RECORD_FINISHED_ROUNDJiri Olsa2-0/+20 2018-02-16perf record: Put new line after target override warningJiri Olsa1-1/+1 2018-02-16kprobes: Propagate error from disarm_kprobe_ftrace()Jessica Yu1-25/+53 2018-02-16kprobes: Propagate error from arm_kprobe_ftrace()Jessica Yu1-25/+75 2018-02-15Revert "tools include s390: Grab a copy of arch/s390/include/uapi/asm/unistd.h"Hendrik Brueckner2-413/+0 2018-02-15perf s390: Rework system call table creation by using syscall.tblHendrik Brueckner2-14/+14