aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Staging: quickstart: depends on INPUTRandy Dunlap2010-08-02
| | | | | | | | | | | | | | quickstart uses input_*() functions so it should depend on INPUT. ERROR: "input_register_device" [drivers/staging/quickstart/quickstart.ko] undefined! ERROR: "input_allocate_device" [drivers/staging/quickstart/quickstart.ko] undefined! ERROR: "input_event" [drivers/staging/quickstart/quickstart.ko] undefined! ERROR: "input_free_device" [drivers/staging/quickstart/quickstart.ko] undefined! ERROR: "input_unregister_device" [drivers/staging/quickstart/quickstart.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Angelo Arrifano <miknix@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: dt3155: remove the driverGreg Kroah-Hartman2010-08-02
| | | | | | | | | There is now a proper V4L driver for this device in the tree, so remove this one. Cc: Scott Smedley <ss@aao.gov.au> Cc: H Hartley Sweeten <hartleys@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ti dspbridge: avoid errors if stream id is zeroErnesto Ramos2010-08-02
| | | | | | | | | As 'zero' can be a perfectly good id, it can be picked up as a NULL from userspace, avoid issues in API and user apps if stream handle is zero. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ti dspbridge: use stream id instead of kernel addressErnesto Ramos2010-08-02
| | | | | | | | | Send stream ids to the user instead of handles, then when the id is coming from user dspbridge can retrive the handle using id and avoid using invalid handles. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ti dspbridge: use processor handle from context instead of user'sErnesto Ramos2010-08-02
| | | | | | | | Make sure dspbridge driver uses a valid processor handle by using the handle stored in process context. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ti dspbridge: avoid errors if node handle is zeroErnesto Ramos2010-08-02
| | | | | | | | | As 'zero' can be a perfectly good id, it can be picked up as a NULL from userspace, avoid issues in API and user apps if node handle is zero. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ti dspbridge: use node id instead of kernel addressErnesto Ramos2010-08-02
| | | | | | | | | | | Use idr kernel library to send/receive node ids to the user instead of kernel address. This id will be use to access the node handles at the kernel side, if id does not match to any handle error -EFAULT is returned. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ti dspbridge: avoid possible NULL dereference panicErnesto Ramos2010-08-02
| | | | | | | | | | | When dsp_notifications array is received from user, dspbridge verifies the array has valid pointers and dsp_notification structures. However, these structures contain pointers that need to be checked for valid handles. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: ring_sw Fix pointer arithmetic for 64bit arches by using ↵Jonathan Cameron2010-08-02
| | | | | | | | phys_addr_t Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: ring_sw remove unnecessary function stub.Jonathan Cameron2010-08-02
| | | | | | Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: ring_sw Add select of triggers to avoid build issue.Jonathan Cameron2010-08-02
| | | | | | | | | Currently all drivers that use ring_sw use triggers and I am yet to see a good reason for any driver not doing so. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: adis16350 add dummy ring functions for no ring build caseJonathan Cameron2010-08-02
| | | | | | Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: lis3l02dq add a thresh_timestamp field to state for no ring caseJonathan Cameron2010-08-02
| | | | | | Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: iio_sw_ring_helper_state - add dummy case for no buffer builds.Jonathan Cameron2010-08-02
| | | | | | Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove find_gcf from nldr.cErnesto Ramos2010-07-28
| | | | | | | | Remove find_gcf from nldr.c and use kernel function gcd(). Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove bridge_brd_delete functionErnesto Ramos2010-07-28
| | | | | | | | Remove bridge_brd_delete() function since it is doing the same that bridge_brd_stop(). Signed-off-by: Ernesto Ramos <ernesto@ernesto-desktop.(none)> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: make sure IVA2 is OFF when dev is createdErnesto Ramos2010-07-28
| | | | | | | | | Regardless the IVA2 power state before bridgedriver is installed, the driver must ensure that IVA2 power state is OFF when the device driver is created. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: proc_load/start should set IVA2 to OFF in case of failureErnesto Ramos2010-07-28
| | | | | | | | When a base image is being loaded or started and by some reason the process fails, the IVA2 should be switched OFF. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: fix bridge_brd_stop so IVA2 is set OFFErnesto Ramos2010-07-28
| | | | | | | | right now, bridge_brd_stop is not changing the IVA2 power state to OFF since PM_PWSTST_IVA2 is not 0 after calling this function. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_FAILED macro definitionErnesto Ramos2010-07-28
| | | | | | | | | Since status succeeded is now 0 macro DSP_FAILED is not necessary anymore. This patch removes this define. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_FAILED macro from servicesErnesto Ramos2010-07-28
| | | | | | | | Since status succeeded is 0, DSP_FAILED macro is not necessary anymore. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_FAILED macro from rmgrErnesto Ramos2010-07-28
| | | | | | | | Since status succeeded is 0, DSP_FAILED macro is not necessary anymore. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_FAILED macro from pmgrErnesto Ramos2010-07-28
| | | | | | | | Since status succeeded is 0, DSP_FAILED macro is not necessary anymore. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_FAILED macro from coreErnesto Ramos2010-07-28
| | | | | | | | Since status succeeded is 0, DSP_FAILED macro is not necessary anymore. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_SUCCEEDED macro definitionErnesto Ramos2010-07-28
| | | | | | | | | Since status succeeded is now 0 macro DSP_SUCCEEDED is not necessary anymore. This patch removes this define. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_SUCCEEDED macro from servicesErnesto Ramos2010-07-28
| | | | | | | | Since status succeeded is now 0 macro DSP_SUCCEEDED is not necessary anymore. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_SUCCEEDED macro from rmgrErnesto Ramos2010-07-28
| | | | | | | | Since status succeeded is now 0 macro DSP_SUCCEEDED is not necessary anymore. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_SUCCEEDED macro from pmgrErnesto Ramos2010-07-28
| | | | | | | | Since status succeeded is now 0 macro DSP_SUCCEEDED is not necessary anymore. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove DSP_SUCCEEDED macro from coreErnesto Ramos2010-07-28
| | | | | | | | Since status succeeded is now 0 macro DSP_SUCCEEDED is not necessary anymore. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: replace simple_strtoul by strict_strtoulErnesto Ramos2010-07-28
| | | | | | | Replace simple_strtoul by strict_strtoul in atoi function. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove unnecessary volatile variablesErnesto Ramos2010-07-28
| | | | | | | | Remove unnecessary volatile variables; use accessor functions __raw_readl/__raw_writel instead when applicable. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove function delete_strm_mgrErnesto Ramos2010-07-28
| | | | | | | | Remove function delete_strm_mgr in strm.c and use kfree instead. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove unnecessary check for NULL pointer in cmm.cErnesto Ramos2010-07-28
| | | | | | | Remove unnecessary check for NULL pointer in cmm.c. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:ti dspbridge: remove unused typedef REG16Ernesto Ramos2010-07-28
| | | | | | | Remove unused typedef REG16 in dspbridge. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: ti-st: update ABI and TODOPavan Savoy2010-07-28
| | | | | | | | update TODO to reflect the items taken care of, update ABI to reflect the new debugfs entries exposed. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: ti-st: mv sysfs entries to debugfsPavan Savoy2010-07-28
| | | | | | | | | | | | When the chip is in use, information like the chip's ROM version and the protocols currently making use of the chip needs to be made known to user-space. Earlier the version and the protocol-list were exposed as sysfs entries now cleanup by making them as debugfs entries, also in process remove any unwanted/previously unused sysfs entries. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: line6: needs to select SND_PCMRandy Dunlap2010-07-28
| | | | | | | | | | | | | | | | | | | line6 uses snd_pcm*() functions, so it should select SND_PCM. ERROR: "snd_pcm_period_elapsed" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_set_ops" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_lib_free_pages" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_lib_ioctl" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_lib_malloc_pages" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_hw_constraint_ratdens" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_format_physical_width" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_lib_preallocate_pages_for_all" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_new" [drivers/staging/line6/line6usb.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Markus Grabner <grabner@icg.tugraz.at> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove RING_BUFFER typedefGreg Kroah-Hartman2010-07-27
| | | | | | | | typedefs are bad, kill them. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove RING_BUFFER_INFO typedefGreg Kroah-Hartman2010-07-27
| | | | | | | | typedefs are bad, kill them. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove RING_BUFFER_DEBUG_INFO typedefGreg Kroah-Hartman2010-07-27
| | | | | | | | typedefs are bad, kill them. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: usbip: fix up build errorGreg Kroah-Hartman2010-07-27
| | | | | | | | This dma flag is no longer in the kernel. Remove it as it's pointless and it causes a build error. Cc: Endre Kollar <taxy443@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: usbip: Filtering illegal flags from remote driverEndre Kollar2010-07-27
| | | | | | | | The usb_submit_urb function in debug mode monitors the bogus flags. The client driver errors should not be conveyed to the local USB device. Signed-off-by: Endre Kollar <taxy443@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: usbip: simplify get_ep_from_epnumEndre Kollar2010-07-27
| | | | | | | usb_device->ep_in/out includes the necessary endpoints, search is not needed. Signed-off-by: Endre Kollar <taxy443@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: usbip: fix multiple interfacesEndre Kollar2010-07-27
| | | | | | | | | | The stub_probe function instantiates an stub_dev object for all interfaces. Wich causes a problem. The stub_dev object belongs to their own interfaces. This patch creates the sdev object at the first stub_probe call, the other calls associate the interfaces to this. Signed-off-by: Endre Kollar <taxy443@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Delete some redundant codeMike McCormack2010-07-26
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Make arrays constMike McCormack2010-07-26
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Remove useless debug codeMike McCormack2010-07-26
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Remove macro already in the kernelMike McCormack2010-07-26
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Delete unused codeMike McCormack2010-07-26
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Make structs const, move prototypes to topMike McCormack2010-07-26
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>