diff options
author | 2013-01-11 07:06:28 -0300 | |
---|---|---|
committer | 2013-02-06 09:42:19 -0200 | |
commit | 248ac368ce4b3cd36515122d888403909d7a2500 (patch) | |
tree | b7685d2ad406aa8f1a50d4bd6975cf283be24288 /tools/perf/scripts/python | |
parent | [media] s5p-mfc: end-of-stream handling in encoder bug fix (diff) | |
download | linux-dev-248ac368ce4b3cd36515122d888403909d7a2500.tar.xz linux-dev-248ac368ce4b3cd36515122d888403909d7a2500.zip |
[media] s5p-fimc: Fix fimc-lite entities deregistration
Clear the proper array when deregistering FIMC-LITE devices. Now
fimc[] array is erroneously accessed instead of fimc_lite[] and
fimc_md_unregister_entities() function call can result in an oops
from NULL pointer dereference, since fmd->fimc[] is cleared earlier.
This might happen in normal conditions when the driver's probing
is deferred and then retried.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions