diff options
author | Tomi Valkeinen <[email protected]> | 2014-04-02 14:31:50 +0300 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2014-04-14 12:34:14 +0300 |
commit | ea7e3a662814447cd329390feddd04b9ec0a4b82 (patch) | |
tree | d277124dbb5c40d9a8fe6c15e94cbeeb56c8b297 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 707cf58a0a847f60f849b44bfb9b85dcc17c599d (diff) |
drm/omap: fix DMM driver (un)registration
At the moment the DMM driver is never unregistered, even if it's
registered in the omapdrm module's init function. This means we'll get
errors when reloading the omapdrm module.
Fix this by unregistering the DMM driver properly, and also change the
module init to fail if DMM driver cannot be registered, simplifying the
unregister path as we don't need to keep the state whether we registered
the DMM driver or not.
Signed-off-by: Tomi Valkeinen <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions