Re: [patch] pinctrl: baytrail: fix some error handling in debugfs

From: Mika Westerberg
Date: Thu Apr 28 2016 - 06:55:24 EST


On Wed, Apr 27, 2016 at 11:08:35AM +0300, Dan Carpenter wrote:
> We need to unlock before continuing. Also the continue was accidentally
> left out on one error path which would lead to a NULL dereference.
>
> Fixes: 86e3ef812fe3 ('pinctrl: baytrail: Update gpio chip operations')
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Good catch!

Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>