diff options
| author | Chuhong Yuan <[email protected]> | 2020-03-29 14:58:39 +0000 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-04-17 13:50:14 +0000 |
| commit | 693774995595b40ae74264216f933224021f4577 (patch) | |
| tree | b54479fb356c7116a603f1da742faa8491e5373a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | video: fbdev: arcfb: add missed free_irq and fix the order of request_irq (diff) | |
| download | kernel-693774995595b40ae74264216f933224021f4577.tar.gz kernel-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 <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
