]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
authorDanny Kukawka <danny.kukawka@bisect.de>
Tue, 24 Jan 2012 15:44:42 +0000 (16:44 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 25 Jan 2012 11:48:34 +0000 (13:48 +0200)
commitcc1d3e032df53d83d0ca4d537d8eb67eb5b3e808
treeea2763286111456ae48c0e3b631d7132521f376d
parent1149c74419179d57fdcd506424da2444755e65d9
OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4

Commit ba02fa37de80bea10d706f39f076dd848348320a disabled the
venc driver registration on OMAP4. Since the driver never gets
probed/initialised your get a dereferenceed NULL pointer if you
try to get info from /sys/kernel/debug/omapdss/venc

Return info message about disabled venc if venc_dump_regs() gets called.

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/venc.c