summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* imx-drm: parallel-display: Fix drm_panel supportPhilipp Zabel2014-11-03
| | | | | | | | | Call drm_panel_enable/disable in reaction to encoder_commit and encoder_disable callbacks. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* imx-drm: currently only IPUv3 is supported, make it mandatoryPhilipp Zabel2014-11-03
| | | | | | | | | As long as only IPUv3 is supported in imx-drm, hide the separate DRM_IMX_IPUV3 option and make DRM_IMX depend on IMX_IPUV3_CORE. Reported-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* imx-drm: ipuv3-plane: fix plane updates for active planesPhilipp Zabel2014-11-03
| | | | | | | | | While the DMA channel is running, it is not allowed to change anything but the inactive (double) buffer base address, so resizing a plane or changing to a frame buffer with different pixel format is not possible. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* imx-drm: ipuv3-plane: enable double bufferingPhilipp Zabel2014-11-03
| | | | | | | | | This allows to update the buffer base address while the DMA channel is running. It is needed to flip the frame buffer of an active plane. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* imx-drm: ipuv3-plane: move stride setting out of base setupPhilipp Zabel2014-11-03
| | | | | | | | | Setting the stride can only be done on inactive channels, while the buffer base address can also be updated for running channels using the hardware double buffering feature. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* imx-drm: ipuv3-plane: allow local alpha in ipu_plane_mode_set()Philipp Zabel2014-11-03
| | | | | | | | For the overlay plane scanning out a framebuffer with an alpha component, enable the DP local alpha feature on the partial plane. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: comedi_buf: make comedi_buf_write_samples() add samples ↵H Hartley Sweeten2014-11-03
| | | | | | | | | | | | that fit This function currently fails if the number of samples to add would overflow the async buffer. Modify it to add the samples that fit so at least some of the sample data is returned to the user. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: rtl8188eu: Use put_unaligned_le32Vaishali Thakkar2014-11-03
| | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the use of function put_unaligned_le32. This is done using Coccinelle and semantic patch used is as follows: @@ identifier tmp; expression ptr; expression y,e; type T; @@ - tmp = cpu_to_le32(y); <+... when != tmp - memcpy(ptr, (T)&tmp, ...); + put_unaligned_le32(y,ptr); ...+> ? tmp = e @@ type T; identifier tmp; @@ - T tmp; ...when != tmp Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: xgifb: Removed a definition which was not used in driverSarah Khan2014-11-03
| | | | | | | This patch removes a definition that was not used in driver xgifb Signed-off-by: Sarah Khan <sarahjmi07@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: android: logger: Add a TODOSomya Anand2014-11-03
| | | | | | | | | | | | A comment about a pre-existing bug data structure definition is added. This bug was evidently introduced by Xiong Zhou in the patch bd471258f2e09 ("staging: android: logger: use kuid_t instead of uid_t") where the code was changed to hide a valid build warning instead of solving the bug that was identified by it. Signed-off-by: Somya Anand <somyaanand214@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: rtl8188eu: rtw_pwrctrl: removed space before semicolon.Surya Seetharaman2014-11-03
| | | | | | | WARNING: space prohibited before semicolon Signed-off-by: Surya Seetharaman<suryaseetharaman.9@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: rtl8188eu: rtw_pwrctrl: removed a checkpatch warning.Surya Seetharaman2014-11-03
| | | | | | | WARNING: void function return statements are not generally useful Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: rtl8188eu: rtw_pwrctrl: fixed checkpatch warning.Surya Seetharaman2014-11-03
| | | | | | | WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: rtl8192u: Use put_unaligned_le16Vaishali Thakkar2014-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the use of function put_unaligned_le16. This is done using Coccinelle and semantic patch used is as follows: @@ identifier tmp; expression ptr; expression y,e; type T; @@ - tmp = cpu_to_le16(y); <+... when != tmp - memcpy(ptr, (T)&tmp, ...); + put_unaligned_le16(y,ptr); ...+> ? tmp = e @@ type T; identifier tmp; @@ - T tmp; ...when != tmp Here, unnecessory comment after change is removed too. This patch also fixes sparse warnings in file ieeee80211_softmac.c. Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: rtl8192e: Use put_unaligned_le16Vaishali Thakkar2014-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the use of function put_unaligned_le16. This is done using Coccinelle and semantic patch used is as follows: @@ identifier tmp; expression ptr; expression y,e; type T; @@ - tmp = cpu_to_le16(y); <+... when != tmp - memcpy(ptr, (T)&tmp, ...); + put_unaligned_le16(y,ptr); ...+> ? tmp = e @@ type T; identifier tmp; @@ - T tmp; ...when != tmp Here, to be compatible with the change header file is added too. Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: rtl8723au: Remove useless static functionsRoberta Dobrescu2014-11-03
| | | | | | | | | This patch removes the static functions bthci_CmdSetEventFilter, bthci_CmdReadRSSI and bthci_CmdHostNumberOfCompletedPackets, since their body only consists of 'return HCI_STATUS_SUCCESS'. Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: lustre: Use put_unaligned_le64Vaishali Thakkar2014-11-03
| | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the use of function put_unaligned_le64. This is done using Coccinelle and semantic patch used is as follows: @@ identifier tmp; expression ptr; expression y,e; type T; @@ - tmp = cpu_to_le64(y); <+... when != tmp - memcpy(ptr, (T)&tmp, ...); + put_unaligned_le64(y,ptr); ...+> ? tmp = e @@ type T; identifier tmp; @@ - T tmp; ...when != tmp Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: lustre: lnet: Improve 'incarnation' stampTina Ruchandani2014-11-03
| | | | | | | | | | | | | | | | ksock_net_t uses a __u64 quantity as an 'incarnation' timestamp. This is also passed on in hello messages and used to detect if a reboot has occurred. This 'incarnation' is obtained using do_gettimeofday.It is only used in equality checks, so the absolute value does not matter. This patch replaces do_gettimeofday with ktime_get_ns for the following reasons: 1. ktime_get_ns returns a __u64 which is safer than 'struct timeval' which will overflow on 32-bit systems in year 2038 and beyond. 2. Reduced compute: ktime_get_ns is faster than the multiply/add combination used in this function Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: rtl8188eu: Remove unnecessary else after returnDilek Uzulmez2014-11-03
| | | | | | | | This patch fixes checkpatch.pl warning in files of rtl8188eu WARNING: else is not generally useful after a break or return Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: Remove unneeded spaces from channel.cKen Depro2014-11-03
| | | | | | | | | | This patch removes some unneeded white space after casts within the channel.c file. The checkpatch script was run after these changes, and no further checks or warnings were seen. Signed-off-by: Ken Depro <kenneth.depro@unisys.com> Signed-off-by: Ben Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase local variables in virtpci_device_add()Bryan Thompson2014-11-03
| | | | | | | | | Rename the following local variables in virtpci_device_add() pIoChan changed to io_chan pDev changed to dev Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase local variables in fix_vbus_dev_info()Bryan Thompson2014-11-03
| | | | | | | | | Rename the following local variables in fix_vbus_dev_info() Change pChan to chan Change devInfo to dev_info Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase parameters of fix_vbus_dev_info()Bryan Thompson2014-11-03
| | | | | | | | | Rename the following fix_vbus_dev_info() parameters devNo changed to dev_no devType changed to dev_type Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase name fix_vbus_devInfo()Bryan Thompson2014-11-03
| | | | | | | Rename fix_vbus_devInfo() to fix_vbus_dev_info(). Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase in delete_vbus_device()Bryan Thompson2014-11-03
| | | | | | | Rename pDev to dev in delete_vbus_device() Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase write_vbus_devInfo()Bryan Thompson2014-11-03
| | | | | | | Rename write_vbus_devInfo() to write_vbus_dev_info() in virtpci.c Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase write_vbus_busInfo()Bryan Thompson2014-11-03
| | | | | | | Rename write_vbus_busInfo() to write_vbus_bus_info() in virtpci.c Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase write_vbus_chpInfo()Bryan Thompson2014-11-03
| | | | | | | Rename write_vbus_chpInfo() to write_vbus_chp_info() in virtpci.c Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase vbus driver info variableBryan Thompson2014-11-03
| | | | | | | Rename BusDriverInfo variable to bus_driver_info in virtpci.c Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase virtpci device list lockBryan Thompson2014-11-03
| | | | | | | Rename VpcidevListLock to vpcidev_list_lock in virtpci.c Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase virtpci device list headBryan Thompson2014-11-03
| | | | | | | Rename VpcidevListHead to vpcidev_list_head in virtpci.c Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: virtpci: Fix CamelCase Chipset_DriverInfoBryan Thompson2014-11-03
| | | | | | | Rename Chipset_DriverInfo to chipset_driver_info in virtpci.c Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: remove unused macros from visorchipset.hBenjamin Romer2014-11-03
| | | | | | | | Delete the macros and related preprocessor code for DBG_GETFILE_PAYLOAD(), DBG_GETFILE(), and DBG_PUTFILE(). Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: remove visorchipset_controlvm_respond_reportEvent()Benjamin Romer2014-11-03
| | | | | | | No one is using this definition so remove it. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: fix CamelCase in visorchipset_set_device_context()Benjamin Romer2014-11-03
| | | | | | | | | | Fix CamelCase parameter names: busNo => bus_no devNo => dev_no Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: fix CamelCase in visorchipset_set_bus_context()Benjamin Romer2014-11-03
| | | | | | | | | Fix CamelCase parameter: busNo => bus_no Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: remove unused definitions from visorchipset.hBenjamin Romer2014-11-03
| | | | | | | | Delete visorchipset_get_switch_info() and visorchipset_get_externalport_info() as these functions were declared but not defined, or used. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: fix CamelCase in visorchipset_get_device_info()Benjamin Romer2014-11-03
| | | | | | | | | | | Fix CamelCase names: busNo => bus_no devNo => dev_no devInfo => dev_info Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: fix CamelCase in visorchipset_get_bus_infoBenjamin Romer2014-11-03
| | | | | | | | | | Fix CamelCase names: busNo => bus_no busInfo => bus_info Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: fix CamelCase in visorchipset_device_pause_response()Benjamin Romer2014-11-03
| | | | | | | | | | Fix CamelCase parameters: busNo => bus_no devNo => dev_no Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: fix CamelCase name in visorchipset_register_busdev_server()Benjamin Romer2014-11-03
| | | | | | | | | Fix CamelCase name: driverInfo => driver_info Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: fix CamelCase name in visorchipset_register_busdev_client()Benjamin Romer2014-11-03
| | | | | | | | | Fix CamelCase parameter: driverInfo => driver_info Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: refactor VISORCHIPSET_BUSDEV_RESPONDERSBenjamin Romer2014-11-03
| | | | | | | | | | | | | | Get rid of the typedef and just use struct visorchipset_busdev_responders instead. Fix CamelCase parameter names in the function pointer definitions for the structure: busNo => bus_no devNo => dev_no Update references to changed names. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: refactor VISORCHIPSET_BUSDEV_NOTIFIERSBenjamin Romer2014-11-03
| | | | | | | | | | | | | | | | Get rid of the typedef and just use struct visorchipset_busdev_notifiers instead. Fix CamelCase names in parameters for the function pointers: busNo => bus_no devNo => dev_no typeGuid => type_uuid minSize => min_size maxSize => max_size Update references. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: refactor VISORCHIPSET_INTERNALPORT_INFOBenjamin Romer2014-11-03
| | | | | | | | | | | | | | | | Get rid of the typedef and use struct visorchipset_internalport_info and fix CamelCase member names: switchNo => switch_no internalPortNo => internal_port_no busNo => bus_no devNo => dev_no Reserved1 => reserved1 Reserved2 => reserved2 pendingMsgHdr => pending_msg_hdr procObject => proc_object Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
* staging: unisys: refactor VISORCHIPSET_EXTERNALPORT_INFOBenjamin Romer2014-11-03
| | | | | | | | | | | | | | | | | | | | Remove the typedef and just use struct visorchipset_externalport_info instead. Fix all CamelCase names: switchNo => switch_no externalPortNo => external_port_no networkZoneGuid => network_zone_uuid pdPort => pd_port ipNetmask => ip_netmask ipBroadcast => ip_broadcast ipNetwork => ip_network ipGateway => ip_gateway ipDNS => ip_dns Reserved1 => reserved1 Reserved2 => reserved2 pendingMsgHdr => pending_msg_hdr Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
* staging: unisys: refactor VISORCHIPSET_SWITCH_INFOBenjamin Romer2014-11-03
| | | | | | | | | | | | | | | | | Remove the typedef and use struct visorchipset_switch_info instead. Fix all CamelCase member names: switchNo => switch_no switchTypeGuid => switch_type_uuid authService1 => authservice1 authService2 => authservice2 authService3 => authservice3 securityContext => security_context Reserved => reserved Reserved2 => reserved2 pendingMsgHdr => pending_msg_hdr Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
* staging: unisys: fix CamelCase in findbus()Benjamin Romer2014-11-03
| | | | | | | | | Fix the CamelCase parameter name in findbus() in visorchipset.h. busNo => bus_no Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: refactor VISORCHIPSET_BUS_INFOBenjamin Romer2014-11-03
| | | | | | | | | | | | | | | | | | Remove the typedef and use the name struct visorchipset_bus_info instead. Fix CamelCase member names in the structure: busNo => bus_no chanInfo => chan_info partitionGuid => partition_uuid partitionHandle => partition_handle Reserved1 => reserved1 Reserved2 => reserved2 procObject => proc_object Update references to changed names. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: unisys: fix CamelCase parameters in delbusdevices()Benjamin Romer2014-11-03
| | | | | | | | | Fix the CamelCase parameter in delbusdevices() in visorchipset.h: busNo => bus_no Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>