summaryrefslogtreecommitdiff
path: root/drivers/mfd/rtsx_usb.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-03mfd: rtsx_usb: Make mfd_cell array constKrzysztof Kozlowski1-1/+1
mfd_add_devices() expects array of struct mfd_cell to be const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Roger Tseng <rogerable@realtek.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-04-28mfd: rtsx_usb: Add comment in rtsx_usb_suspendRoger Tseng1-0/+6
Explain why there is no need to have a symmetric LED turn-on in resume handler while calling rtsx_usb_turn_off_led() in suspend handler. Signed-off-by: Roger Tseng <rogerable@realtek.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-04-28mfd: rtsx_usb: Fix possible race conditionRoger Tseng1-4/+4
Fix two possible race condition generated by misuse of del_timer in rtsx_usb_bulk_transfer_sglist() and uninitialized timers before mfd_add_devices in rtsx_usb_probe(). Signed-off-by: Roger Tseng <rogerable@realtek.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-03-19mfd: Add realtek USB card reader driverRoger Tseng1-0/+760
Realtek USB card reader provides a channel to transfer command or data to flash memory cards. This driver exports host instances for mmc and memstick subsystems and handles basic works. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Roger Tseng <rogerable@realtek.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>