]> git.itanic.dy.fi Git - linux-stable/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:07:01 +0000 (11:07 +0100)
commit72b3bcab2003ddf755f275fa2cfbc3de479d3db3
tree560736ceb41e840f195ffed8aaa0114ccb3e997a
parent9801a43b6d4ac0d9f2e878ecf7c0804b4ca26f16
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