Skip to content

rts5139 Fix SD card detection and use correct transfer interval

Marcus Overhagen lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Fix SD card detection and use correct transfer interval.drivers/staging/rts5139/rts51x_transport.c+4 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] rts5139 Fix SD card detection and use correct transfer interval

The SD card reader slot on my Samsung Series 7 ultrabook never worked and still wasn't working with 3.10-rc3, also the syslog was spammed. The following patch fixes both.

The timeout detection implemented in this driver isn't very robust, although the USB interrupt transfer is successful, the polling thread often reported timeouts because the 50ms had expired before it got scheduled, and the SD card wasn't detected. Increasing it to 100ms at least makes it work.

Using the correct interval as reported by the endpoint also stops the syslog spam printed by xhci.

Marcus Overhagen (1):
Fix SD card detection and use correct transfer interval.

 drivers/staging/rts5139/rts51x_transport.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.1.2