summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5139
AgeCommit message (Collapse)AuthorFilesLines
2012-07-17staging: rts5139: rts51x_card: fixed brace coding style issueErik Jones1-2/+1
Fixed a coding style issue. An else statement was not on the same line as the preceding if statement's closing brace. Signed-off-by: Erik Jones <erik@ejnode.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-17staging: rts5139: rts51x_card: fixed brace coding style issueErik Jones1-4/+3
Fixed a coding style issue. Signed-off-by: Erik Jones <erik@ejnode.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-22staging: rts5139: Remove duplicate include of rts51x.hJesper Juhl1-1/+0
The header "rts51x.h" is included unconditionally at the start of the file and then again once more under "#ifdef SUPPORT_FILE_OP". Once is enough, so remove the conditional include and just keep the unconditional one. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-22staging: rts5139: rts51x_chip: fixed brace coding style issueErik Jones1-3/+2
Fixed a coding style issue. Signed-off-by: Erik Jones <erik@ejnode.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-12staging: rts5139: Fix typo in rts5139Masanari Iida2-2/+2
Correct spelling typo in rts5139/rts51x_chip.h, rts51x_scsi.h Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-12Staging: rts5139: sd_cprm: fix coding style and deprecation issuesAdnan Ali1-4/+4
This commit fixes coding style and deprecation issues which includes long lines, braces with single statments in if condition and deprecated min() function. Signed-off-by: Adnan Ali <adnan.ali@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-14staging: "rts5139" Fix typos.Justin P. Mattock6-8/+8
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused variable option.ww_enableOleksij Rempel2-16/+13
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused variable in rts51x_chip.hOleksij Rempel2-65/+1
the SENSE_TYPE_FORMAT_IN_PROGRESS was checked by rts51x_scsi.c but never set. Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused variable in rts51x.hOleksij Rempel1-4/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused TUNE_SD18_*Oleksij Rempel1-6/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused polling_time variableOleksij Rempel2-2/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused rcc_bug_fix_enOleksij Rempel3-5/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused rcc_fail_flag variableOleksij Rempel2-2/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused option->needs_remote_wakeupOleksij Rempel2-2/+0
module parametr needs_remote_wakeup sets option->needs_remote_wakeup and rts51x->pusb_intf->needs_remote_wakeup the second may be used, the first one is never used Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused led_blink_speed variableOleksij Rempel2-3/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove disabled code in rts51x_card.cOleksij Rempel1-9/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: make some functions static in ms.c and ms_mg.cOleksij Rempel3-5/+3
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused xd_check_err_code in xd.cOleksij Rempel1-7/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: make some functions static in xd.cOleksij Rempel2-4/+4
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: make some functions static in sd_cprm.cOleksij Rempel1-2/+2
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: make some functions static in sd.*Oleksij Rempel2-6/+4
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove soft_reset_sd_card in sd_cprm.cOleksij Rempel1-6/+1
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unused rts51x_reset_pipe in rts51x_transport.*Oleksij Rempel2-11/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: make some functions static in rts51x_transport.*Oleksij Rempel2-11/+8
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: remove unsued *host_info in rts51x_scsi.cOleksij Rempel2-6/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-10staging: rts5139: make some functions static in rts51x_scsi.cOleksij Rempel1-3/+3
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: Fix typo in rts5139Masanari Iida2-6/+6
Correct spelling typo in rts5139 Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove unused card_power_offOleksij Rempel2-12/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove unused disable_card_clockOleksij Rempel2-17/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: make some functions static in rts51x_card.c and rts51x.cOleksij Rempel4-10/+6
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove useless rts51x_sys.hOleksij Rempel5-44/+1
and move USING_POLLING_CYCLE_DELINK to rts51x_chip.h Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove unused clear_first_install_markOleksij Rempel2-10/+0
it also removes rts51x_reset_detected_cards. Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove disabled SCSI_SCAN_DELAY codeOleksij Rempel2-79/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove disabled XD_SPEEDUP codeOleksij Rempel2-108/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove disabled SUPPORT_SD_LOCK code.Oleksij Rempel6-434/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove unused LED_AUTO_BLINK codeOleksij Rempel2-16/+1
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove disabled code in rts51x_fop.*Oleksij Rempel3-14/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove disabled code in rts51x_scsi.cOleksij Rempel1-15/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove disable code in rts51x_transport.cOleksij Rempel1-262/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove disabled code in rts51x_chip.cOleksij Rempel1-67/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09staging: rts5139: remove useless functions in rts51x_card.cOleksij Rempel3-26/+0
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-10Staging: rts5139: a couple off by one fixesDan Carpenter1-2/+3
Inside the array we check ms_start_idx[seg_no + 1] so on the last round through we end up going past the end of the array. Also if we don't break out of the loop early then we are beyond the end of the array there as well. With this change, if we don't find what we are looking for, we end on the last element of the array. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-24staging: Update TODO for rts5139 and rts_pstorChris Ball1-1/+5
These are each >20k LOC drivers that embed an entire SD stack, and present SD cards as if they were SCSI devices; both drivers should be rewritten to be small hooks that connect the PCI (for rts_pstor) or USB (for rts5139) hardware into Linux's MMC/xD/memorystick stacks. Signed-off-by: Chris Ball <cjb@laptop.org> Cc: edwin_rong <edwin_rong@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-09staging: rts5139: fix pointer coding styleMárton Németh7-16/+16
This will remove the following checkpatch.pl error: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Márton Németh <nm127@freemail.hu> Acked-by: edwin_rong <edwin_rong@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-01-09Merge branch 'staging-next' of ↵Linus Torvalds2-2/+0
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (466 commits) net/hyperv: Add support for jumbo frame up to 64KB net/hyperv: Add NETVSP protocol version negotiation net/hyperv: Remove unnecessary kmap_atomic in netvsc driver staging/rtl8192e: Register against lib80211 staging/rtl8192e: Convert to lib80211_crypt_info staging/rtl8192e: Convert to lib80211_crypt_data and lib80211_crypt_ops staging/rtl8192e: Add lib80211.h to rtllib.h staging/mei: add watchdog device registration wrappers drm/omap: GEM, deal with cache staging: vt6656: int.c, int.h: Change return of function to void staging: usbip: removed unused definitions from header staging: usbip: removed dead code from receive function staging:iio: Drop {mark,unmark}_in_use callbacks staging:iio: Drop buffer mark_param_change callback staging:iio: Drop the unused buffer enable() and is_enabled() callbacks staging:iio: Drop buffer busy flag staging:iio: Make sure a device is only opened once at a time staging:iio: Disallow modifying buffer size when buffer is enabled staging:iio: Disallow changing scan elements in all buffered modes staging:iio: Use iio_buffer_enabled instead of open coding it ... Fix up conflict in drivers/staging/iio/adc/ad799x_core.c (removal of module_init due to using module_i2c_driver() helper, next to removal of MODULE_ALIAS due to using MODULE_DEVICE_TABLE instead).
2011-12-12Staging: remove version.h includes in drivers/staging/rts5139Devendra Naga2-2/+0
This was reported by "make versioncheck" Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-18USB: convert drivers/staging/* to use module_usb_driver()Greg Kroah-Hartman1-31/+1
This converts the drivers in drivers/staging/* to use the module_usb_driver() macro which makes the code smaller and a bit simpler. Added bonus is that it removes some unneeded kernel log messages about drivers loading and/or unloading. Cc: "David Täht" <d@teklibre.com> Cc: Marek Belisko <marek.belisko@gmail.com> Cc: Al Cho <acho@novell.com> Cc: Forest Bond <forest@alittletooquiet.net> Cc: Pavel Machek <pavel@ucw.cz> Cc: Huajun Li <huajun.li.lee@gmail.com> Cc: Zac Storer <zac.3.14159@gmail.com> Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: edwin_rong <edwin_rong@realsil.com.cn> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: Julia Lawall <julia@diku.dk> Cc: Ilia Mirkin <imirkin@alum.mit.edu> Cc: Joe Perches <joe@perches.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: "John W. Linville" <linville@tuxdriver.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-10-31staging: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/staging users.Paul Gortmaker1-0/+1
Lots of drivers have in the past expected the presence of basic things like THIS_MODULE and EXPORT_SYMBOL. With the header cleanup, they wont have these. Call out the include explicitly. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2011-08-26staging: fix rts5139 depends & buildRandy Dunlap1-1/+1
RTS5139 should depend on USB, not USB_SUPPORT, to fix build errors. USB_SUPPORT can be enabled for gadget-only support or when PCI is not enabled. ERROR: "usb_reset_endpoint" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_kill_urb" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_deregister_dev" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_unlink_urb" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_deregister" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_register_dev" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_free_coherent" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_submit_urb" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_sg_cancel" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_find_interface" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_sg_init" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_register_driver" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_alloc_coherent" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_free_urb" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_alloc_urb" [drivers/staging/rts5139/rts5139.ko] undefined! Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Edwin Rong <edwin_rong@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>