summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2014-09-02 09:51:15 -0300
committerLuis Henriques <luis.henriques@canonical.com>2014-11-03 10:34:41 +0000
commit09756c1a9b8ae7e7c7d5a63c6d21a449beaeec67 (patch)
tree4f3e379e6bdeab53078e137ec77447eadbb9803b /include/linux
parentd0335e4feea0d3f7a8af3116c5dc166239da7521 (diff)
drm/tilcdc: Fix the error path in tilcdc_load()
commit b478e336b3e75505707a11e78ef8b964ef0a03af upstream. The current error path calls tilcdc_unload() in case of an error to release the resources. However, this is wrong because not all resources have been allocated by the time an error occurs in tilcdc_load(). To fix it, this commit adds proper labels to bail out at the different stages in the load function, and release only the resources actually allocated. Tested-by: Darren Etheridge <detheridge@ti.com> Tested-by: Johannes Pointner <johannes.pointner@br-automation.com> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Dave Airlie <airlied@redhat.com> Cc: matwey.kornilov@gmail.com Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions