[PATCH] drm/tilcdc: fix wrong error handling

2016-09-23 Thread Jyri Sarha
On 09/23/16 14:47, Sean Paul wrote: > On Fri, Sep 23, 2016 at 3:52 AM, Daniel Schultz > wrote: >> 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

[PATCH] drm/tilcdc: fix wrong error handling

2016-09-23 Thread Daniel Schultz
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

[PATCH] drm/tilcdc: fix wrong error handling

2016-09-23 Thread Sean Paul
On Fri, Sep 23, 2016 at 5:01 AM, Jyri Sarha wrote: > On 09/23/16 14:47, Sean Paul wrote: >> On Fri, Sep 23, 2016 at 3:52 AM, Daniel Schultz >> wrote: >>> When 'component_bind_all' fails it should not try to unbind components >>> in the error handling. This will produce a null pointer kernel

[PATCH] drm/tilcdc: fix wrong error handling

2016-09-23 Thread Sean Paul
On Fri, Sep 23, 2016 at 3:52 AM, Daniel Schultz wrote: > 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