lkml.org 
[lkml]   [2018]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.14 013/173] usb: dwc3: change stream event enable bit back to 13
    Date
    4.14-stable review patch.  If anyone has any objections, please let me know.

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

    From: "Erich E. Hoover" <ehoover@sweptlaser.com>

    [ Upstream commit 9a7faac3650216112e034b157289bf1a48a99e2d ]

    Commit ff3f0789b3dc ("usb: dwc3: use BIT() macro where possible")
    changed DWC3_DEPCFG_STREAM_EVENT_EN from bit 13 to bit 12.

    Spotted this cleanup typo while looking at diffs between 4.9.35 and
    4.14.16 for a separate issue.

    Fixes: ff3f0789b3dc ("usb: dwc3: use BIT() macro where possible")
    Signed-off-by: Erich E. Hoover <ehoover@sweptlaser.com>
    Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/usb/dwc3/gadget.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/usb/dwc3/gadget.h
    +++ b/drivers/usb/dwc3/gadget.h
    @@ -33,7 +33,7 @@ struct dwc3;
    #define DWC3_DEPCFG_XFER_IN_PROGRESS_EN BIT(9)
    #define DWC3_DEPCFG_XFER_NOT_READY_EN BIT(10)
    #define DWC3_DEPCFG_FIFO_ERROR_EN BIT(11)
    -#define DWC3_DEPCFG_STREAM_EVENT_EN BIT(12)
    +#define DWC3_DEPCFG_STREAM_EVENT_EN BIT(13)
    #define DWC3_DEPCFG_BINTERVAL_M1(n) (((n) & 0xff) << 16)
    #define DWC3_DEPCFG_STREAM_CAPABLE BIT(24)
    #define DWC3_DEPCFG_EP_NUMBER(n) (((n) & 0x1f) << 25)

    \
     
     \ /
      Last update: 2018-09-24 14:58    [W:2.722 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site