aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/falcon.c
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2020-03-29 22:58:39 +0800
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2020-04-17 15:50:14 +0200
commit693774995595b40ae74264216f933224021f4577 (patch)
treeb54479fb356c7116a603f1da742faa8491e5373a /drivers/gpu/drm/tegra/falcon.c
parentfbe3d80df87bb3f91fe1d8b421b69c3c8d089640 (diff)
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 'drivers/gpu/drm/tegra/falcon.c')
0 files changed, 0 insertions, 0 deletions