Re: [PATCH 3/3] PCI: qcom: Allow post_init to fail
From: Stanimir Varbanov
Date: Thu Aug 03 2017 - 08:45:10 EST
Bjorn, thanks for the patch!
On 07/16/2017 09:42 AM, Bjorn Andersson wrote:
> host_init should detect and propagate errors from post_init.
> In addition, by acknowleding that post_init can fail we must disable the
> post_init resources in a step separate from the deinit, so that we don't
> try to disable the post_init resources a second time.
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> drivers/pci/dwc/pcie-qcom.c | 20 +++++++++++++++++---
> 1 file changed, 17 insertions(+), 3 deletions(-)
The patch looks good to me,
Acked-by: Stanimir Varbanov <svarbanov@xxxxxxxxxx>