-
由 NeilBrown 提交于
The current error-path code (when gpiod_get_index() reports an error) can never free pwrseq->reset_gpios[0], but might try to tree pwrseq->reset_gpios[-1], which has unfortunate consequences. Signed-off-by: NNeilBrown <neil@brown.name> Fixes: 934f1f48Acked-by: NJavier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org> Reported-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
6b7a783e