1. 22 1月, 2013 2 次提交
    • B
      net: cdc_mbim: send ZLP after max sized NTBs · 328d7b8a
      Bjørn Mork 提交于
      We normally avoid sending ZLPs by padding NTBs with a zero byte
      if the NTB is shorter than dwNtbOutMaxSize, resulting in a short
      USB packet instead of a ZLP.  But in the case where the NTB length
      is exactly dwNtbOutMaxSize and this is an exact multiplum of
      wMaxPacketSize, then we must send a ZLP.
      
      This fixes an issue seen on a Sierra Wireless MC7710 device
      where the transmission would fail whenever we ended up padding
      the NTBs to max size.
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      328d7b8a
    • B
      net: cdc_ncm: workaround for missing CDC Union · 9992c2e2
      Bjørn Mork 提交于
      Adding support for the MBIM mode in some Sierra Wireless devices.
      
      Some Sierra Wireless firmwares support CDC MBIM but have no CDC
      Union funtional descriptor. This violates the MBIM specification,
      but we can easily work around the bug by looking at the Interface
      Association Descriptor instead.  This is most likely what
      Windows uses too, which explains how the firmware bug has gone
      unnoticed until now.
      
      This change will not affect any currently supported device
      conforming to the NCM or MBIM specifications, as they must have
      the CDC Union descriptor.
      
      Cc: Greg Suarez <gsuarez@smithmicro.com>
      Cc: Alexey Orishko <alexey.orishko@stericsson.com>
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9992c2e2
  2. 19 1月, 2013 1 次提交
  3. 17 1月, 2013 2 次提交
  4. 29 12月, 2012 1 次提交
  5. 20 12月, 2012 4 次提交
  6. 18 12月, 2012 2 次提交
  7. 11 12月, 2012 3 次提交
  8. 01 12月, 2012 7 次提交
  9. 29 11月, 2012 7 次提交
  10. 26 11月, 2012 1 次提交
  11. 24 11月, 2012 5 次提交
  12. 16 11月, 2012 1 次提交
    • J
      TTY: call tty_port_destroy in the rest of drivers · 191c5f10
      Jiri Slaby 提交于
      After commit "TTY: move tty buffers to tty_port", the tty buffers are
      not freed in some drivers. This is because tty_port_destructor is not
      called whenever a tty_port is freed. This was an assumption I counted
      with but was unfortunately untrue. So fix the drivers to fulfil this
      assumption.
      
      To be sure, the TTY buffers (and later some stuff) are gone along with
      the tty_port, we have to call tty_port_destroy at tear-down places.
      This is mostly where the structure containing a tty_port is freed.
      This patch does exactly that -- put tty_port_destroy at those places.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      191c5f10
  13. 14 11月, 2012 2 次提交
  14. 10 11月, 2012 1 次提交
  15. 08 11月, 2012 1 次提交