Re: [PATCH] xhci: Fix runtime PM imbalance on error

2020-05-21 Thread kbuild test robot
Hi Dinghao, Thank you for the patch! Yet something to improve: [auto build test ERROR on usb/usb-testing] [also build test ERROR on v5.7-rc6 next-20200519] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base'

[PATCH] xhci: Fix runtime PM imbalance on error

2020-05-21 Thread Dinghao Liu
When dma_set_mask_and_coherent() returns an error code, a pairing runtime PM usage counter decrement is needed to keep the counter balanced. Also, call pm_runtime_disable() when dma_set_mask_and_coherent() returns an error code. Signed-off-by: Dinghao Liu --- drivers/usb/host/xhci-histb.c | 2