diff options
author | 2020-03-29 22:58:39 +0800 | |
---|---|---|
committer | 2020-04-17 15:50:14 +0200 | |
commit | 693774995595b40ae74264216f933224021f4577 (patch) | |
tree | b54479fb356c7116a603f1da742faa8491e5373a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | video: fbdev: arcfb: add missed free_irq and fix the order of request_irq (diff) | |
download | linux-dev-693774995595b40ae74264216f933224021f4577.tar.xz linux-dev-693774995595b40ae74264216f933224021f4577.zip |
video: fbdev: vesafb: add missed release_region
The driver forgets to free the I/O region in remove and probe
failure.
Add the missed calls to fix it.
Since the success of request_region() is optional, add the "region" field
in vesafb_par to represent whether request_region() succeeds.
Then only call release_region() when "region" is not null.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200329145839.20076-1-hslester96@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions