1. 01 7月, 2014 6 次提交
  2. 29 5月, 2014 1 次提交
  3. 28 5月, 2014 4 次提交
  4. 16 5月, 2014 4 次提交
  5. 15 5月, 2014 1 次提交
    • A
      usb: gadget: f_uac2: don't queue new requests when shutting down · 1ade5d7e
      Andrzej Pietrasiewicz 提交于
      In some circumstances when g_audio is being unloaded there happens
      an endless loop in udc driver. It has happend on a board with
      s3c-hsotg. If there are requests in endpoint's queue, they are completed
      in a loop. But completing them might cause appending new requests
      to the queue. This patch causes agdev_iso_complete() to return immediately
      if request's status is -ESHUTDOWN. If it does not return immediately,
      then although the current request is removed from the queue, a new one
      is appended to the queue, so the above mentioned loop cannot end.
      Signed-off-by: NAndrzej Pietrasiewicz <andrzej.p@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      1ade5d7e
  6. 14 5月, 2014 21 次提交
  7. 13 5月, 2014 2 次提交
  8. 07 5月, 2014 1 次提交
    • A
      replace checking for ->read/->aio_read presence with check in ->f_mode · 7f7f25e8
      Al Viro 提交于
      Since we are about to introduce new methods (read_iter/write_iter), the
      tests in a bunch of places would have to grow inconveniently.  Check
      once (at open() time) and store results in ->f_mode as FMODE_CAN_READ
      and FMODE_CAN_WRITE resp.  It might end up being a temporary measure -
      once everything switches from ->aio_{read,write} to ->{read,write}_iter
      it might make sense to return to open-coded checks.  We'll see...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      7f7f25e8