lkml.org 
[lkml]   [2017]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.4 51/78] xhci: plat: Register shutdown for xhci_plat
    Date
    4.4-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Adam Wallis <awallis@codeaurora.org>


    [ Upstream commit b07c12517f2aed0add8ce18146bb426b14099392 ]

    Shutdown should be called for xhci_plat devices especially for
    situations where kexec might be used by stopping DMA
    transactions.

    Signed-off-by: Adam Wallis <awallis@codeaurora.org>
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/usb/host/xhci-plat.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/drivers/usb/host/xhci-plat.c
    +++ b/drivers/usb/host/xhci-plat.c
    @@ -284,6 +284,7 @@ MODULE_DEVICE_TABLE(acpi, usb_xhci_acpi_
    static struct platform_driver usb_xhci_driver = {
    .probe = xhci_plat_probe,
    .remove = xhci_plat_remove,
    + .shutdown = usb_hcd_platform_shutdown,
    .driver = {
    .name = "xhci-hcd",
    .pm = DEV_PM_OPS,

    \
     
     \ /
      Last update: 2017-12-22 11:43    [W:4.107 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site