summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2016-09-23 12:52:49 +0200
committerJyri Sarha <jsarha@ti.com>2016-09-23 15:12:57 +0300
commit7b993855dfd5d87e07ac84285d3d9bb0c743dede (patch)
treed6e4534562fdaee5e6e147f898a88f81a443b405 /Documentation
parentcf97ee19629363d5847a4af135cf415f76d7388c (diff)
downloadlinux-stable-7b993855dfd5d87e07ac84285d3d9bb0c743dede.tar.gz
linux-stable-7b993855dfd5d87e07ac84285d3d9bb0c743dede.tar.bz2
linux-stable-7b993855dfd5d87e07ac84285d3d9bb0c743dede.zip
drm/tilcdc: fix wrong error handling
When 'component_bind_all' fails it should not try to unbind components in the error handling. This will produce a null pointer kernel panic when no component exist. This patch changes the order of the error handling. Now, it will only unbind components if the are bound. Otherwise, the module will jump to an error label below. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions