lkml.org 
[lkml]   [2012]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[ 009/175] USB: ftdi_sio: add support for BeagleBone rev A5+
    3.3-stable review patch.  If anyone has any objections, please let me know.

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

    From: Peter Korsgaard <jacmet@sunsite.dk>

    commit 444aa7fa9bd752d19ce472d3e02558b987c3cc67 upstream.

    BeagleBone changed to the default FTDI 0403:6010 id in rev A5 to make life
    easier for Windows users, so we need a similar workaround as the Calao
    board to support it.

    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/usb/serial/ftdi_sio.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- a/drivers/usb/serial/ftdi_sio.c
    +++ b/drivers/usb/serial/ftdi_sio.c
    @@ -1763,8 +1763,8 @@ static int ftdi_8u2232c_probe(struct usb

    dbg("%s", __func__);

    - if ((udev->manufacturer) &&
    - (strcmp(udev->manufacturer, "CALAO Systems") == 0))
    + if ((udev->manufacturer && !strcmp(udev->manufacturer, "CALAO Systems")) ||
    + (udev->product && !strcmp(udev->product, "BeagleBone/XDS100")))
    return ftdi_jtag_probe(serial);

    return 0;



    \
     
     \ /
      Last update: 2012-03-31 00:05    [W:0.023 / U:61.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site