]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: host: fsl-mph-dr-of: check return of dma_set_mask()
authorRan Wang <ran.wang_1@nxp.com>
Sat, 10 Oct 2020 06:03:08 +0000 (14:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:08:49 +0000 (11:08 +0100)
commit51f6f0e8d3929ca0610c7fd69fb62d3a74dda372
tree499b06ebf656c0f2880dff3e893162651a78ccf1
parent061fae52838ad8e9c59c65859088e3f6f850d5e5
usb: host: fsl-mph-dr-of: check return of dma_set_mask()

commit 3cd54a618834430a26a648d880dd83d740f2ae30 upstream.

fsl_usb2_device_register() should stop init if dma_set_mask() return
error.

Fixes: cae058610465 ("drivers/usb/host: fsl: Set DMA_MASK of usb platform device")
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Link: https://lore.kernel.org/r/20201010060308.33693-1-ran.wang_1@nxp.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fsl-mph-dr-of.c