lkml.org 
[lkml]   [2017]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/3] PCI: qcom: Allow post_init to fail
From
Date
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@linaro.org>
> ---
> 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@mm-sol.com>

regards,
Stan

\
 
 \ /
  Last update: 2017-08-03 14:45    [W:0.057 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site