- 04 Jan, 2016 33 commits
-
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Acked-by:
Antonio Ospite <ao2@ao2.it> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Work queues are not used in this driver, so remove the include. Signed-off-by:
Andrew Lunn <andrew@lunn.ch>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Cc: Daniel Mack <daniel@caiaq.de> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Reviewed-by:
Mark Brown <broonie@kernel.org> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Dan Murphy <dmurphy@ti.com> Cc: Ricardo Ribalda <ricardo.ribalda@gmail.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Cc: Nate Case <ncase@xes-inc.com> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Acked-by:
Dan Murphy <dmurphy@ti.com> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Cc: Milo Kim <milo.kim@ti.com> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Cc: Milo Kim <milo.kim@ti.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Acked-by:
Antonio Ospite <ao2@ao2.it> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Cc: Daniel Jeong <daniel.jeong@ti.com> Cc: G.Shark Jeong <gshark.jeong@gmail.com> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Cc: Johan Hovold <johan@kernel.org>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Cc: Jan-Simon Moeller <dl9pf@gmx.de> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Cc: Kim Kyuwon <q1.kim@samsung.com> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Cc: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Andrew Lunn authored
Now the core implements the work queue, remove it from the driver, and switch to using brightness_set_blocking op. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com>
-
Jacek Anaszewski authored
LED subsystem shifted responsibility for choosing between SYNC or ASYNC way of setting brightness from drivers to the caller. Adapt the wrapper to those changes. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Cc: linux-media@vger.kernel.org Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by:
Pavel Machek <pavel@ucw.cz> Acked-by:
Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-
Jacek Anaszewski authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Cc: Ingi Kim <ingi2.kim@samsung.com> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by:
Pavel Machek <pavel@ucw.cz>
-
Jacek Anaszewski authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by:
Pavel Machek <pavel@ucw.cz>
-
Jacek Anaszewski authored
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by:
Pavel Machek <pavel@ucw.cz>
-
Jacek Anaszewski authored
This patch adds description of the LED subsystem API for setting an LED brightness. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com>
-
Jacek Anaszewski authored
This patch removes SET_BRIGHTNESS_ASYNC and SET_BRIGHTNESS_SYNC flags. led_set_brightness() now calls led_set_brightness_nosleep() instead of choosing between sync and async op basing on the flags defined by the driver. From now on, if a user wants to make sure that brightness will be set synchronously, they have to use led_set_brightness_sync() API. It is now being made publicly available since it has become apparent that it is a caller who should decide whether brightness is to be set in a synchronous or an asynchronous way. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com>
-
Jacek Anaszewski authored
This patch makes LED core capable of setting brightness for drivers that implement brightness_set_blocking op. It removes from LED class drivers responsibility for using work queues on their own. In order to achieve this set_brightness_delayed callback is being modified to directly call one of available ops for brightness setting. led_set_brightness_async() function didn't set brightness in an asynchronous way in all cases. It was mistakenly assuming that all LED subsystem drivers used work queue in their brightness_set op, whereas only half of them did that. Since it has no users now, it is being removed. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com>
-
Jacek Anaszewski authored
This patch adds led_set_brightness_nosleep() and led_set_brightness_nopm() functions, that guarantee setting LED brightness in a non-blocking way. The latter is used from pm_ops context and doesn't modify the brightness cached in the struct led_classdev. Its execution always ends up with a call to brightness setting op - either directly or through a set_brightness_work, regardless of LED_SUSPENDED flag state. The patch also replaces led_set_brightness_async() with led_set_brightness_nosleep() in all places where the most vital was setting brightness in a non sleeping way but not necessarily asynchronously, which is not needed for non-blocking drivers. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com>
-
Jacek Anaszewski authored
The initial purpose of brightness_set_sync op, introduced along with the LED flash class extension, was to add a means for setting torch LED brightness as soon as possible, which couldn't have been guaranteed by brightness_set op. This patch renames the op to brightness_set_blocking, which describes its purpose in a more generic way. It is beneficial in view of the prospective changes in the LED core, aiming at removing the need for using work queues in LED class drivers that can sleep or use delays while setting brightness. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Andrew Lunn <andrew@lunn.ch> Acked-by:
Pavel Machek <pavel@ucw.cz> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com>
-
Jacek Anaszewski authored
This patch adds LED_BLINK_BRIGHTNESS_CHANGE flag to indicate that blink brightness has changed, and LED_BLINK_DISABLE flag to indicate that blinking deactivation has been requested. In order to use the flags led_timer_function and set_brightness_delayed callbacks as well as led_set_brightness() function are being modified. The main goal of these modifications is to prepare set_brightness_work for extension of the scope of its responsibilities. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Pavel Machek <pavel@ucw.cz> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com>
-
Jacek Anaszewski authored
LED core has a mixture of EXPORT_SYMBOL and EXPORT_SYMBOL_GPL macros. This patch fixes this discrepancy and switches to using EXPORT_SYMBOL_GPL for each exported function. Signed-off-by:
Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by:
Pavel Machek <pavel@ucw.cz>
-
- 03 Jan, 2016 3 commits
-
-
Linus Torvalds authored
-
git://git.linux-mips.org/pub/scm/ralf/upstream-linusLinus Torvalds authored
Pull MIPS build fix from Ralf Baechle: "Fix a makefile issue resulting in build breakage with older binutils. This has sat in -next for a few days, testers and buildbot are happy with it, too though if you are going for another -rc that'd certainly help ironing out a few more issues" * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: MIPS: VDSO: Fix build error with binutils 2.24 and earlier
-
git://anongit.freedesktop.org/drm-intelLinus Torvalds authored
Pull i915 drm fixes from Jani Nikula: "Two display fixes still for v4.4. The new year's resolution is to start using signed tags per Linus' request. This one is still unsigned; I want to fix this up in our maintainer scripts instead of doing it one-off" * tag 'drm-intel-fixes-2016-01-02' of git://anongit.freedesktop.org/drm-intel: drm/i915: increase the tries for HDMI hotplug live status checking drm/i915: Unbreak check_digital_port_conflicts()
-
- 31 Dec, 2015 4 commits
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pciLinus Torvalds authored
Pull PCI bugfix from Bjorn Helgaas: "Here's another fix for v4.4. This fixes 32-bit config reads for the HiSilicon driver. Obviously the driver is completely broken without this fix (apparently it actually was tested internally, but got broken somehow in the process of upstreaming it). Summary: HiSilicon host bridge driver Fix 32-bit config reads (Dongdong Liu)" * tag 'pci-v4.4-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: PCI: hisi: Fix hisi_pcie_cfg_read() 32-bit reads
-
git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparcLinus Torvalds authored
Pull sparc fixes from David Miller: "Just some missing syscall wire ups" * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc: Wire up mlock2 system call. sparc: Add all necessary direct socket system calls.
-
git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds authored
Pull networking fixes from David Miller: 1) Prevent XFRM per-cpu counter updates for one namespace from being applied to another namespace. Fix from DanS treetman. 2) Fix RCU de-reference in iwl_mvm_get_key_sta_id(), from Johannes Berg. 3) Remove ethernet header assumption in nft_do_chain_netdev(), from Pablo Neira Ayuso. 4) Fix cpsw PHY ident with multiple slaves and fixed-phy, from Pascal Speck. 5) Fix use after free in sixpack_close and mkiss_close. 6) Fix VXLAN fw assertion on bnx2x, from Yuval Mintz. 7) natsemi doesn't check for DMA mapping errors, from Alexey Khoroshilov. 8) Fix inverted test in ip6addrlbl_get(), from ANdrey Ryabinin. 9) Missing initialization of needed_headroom in geneve tunnel driver, from Paolo Abeni. 10) Fix conntrack template leak in openvswitch, from Joe Stringer. 11) Mission initialization of wq->flags in sock_alloc_inode(), from Nicolai Stange. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (35 commits) sctp: sctp should release assoc when sctp_make_abort_user return NULL in sctp_close net, socket, socket_wq: fix missing initialization of flags drivers: net: cpsw: fix error return code openvswitch: Fix template leak in error cases. sctp: label accepted/peeled off sockets sctp: use GFP_USER for user-controlled kmalloc qlcnic: fix a loop exit condition better net: cdc_ncm: avoid changing RX/TX buffers on MTU changes geneve: initialize needed_headroom ipv6: honor ifindex in case we receive ll addresses in router advertisements addrconf: always initialize sysctl table data ipv6/addrlabel: fix ip6addrlbl_get() switchdev: bridge: Pass ageing time as clock_t instead of jiffies sh_eth: fix 16-bit descriptor field access endianness too veth: don’t modify ip_summed; doing so treats packets with bad checksums as good. net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T Mobile Broadband Card net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card natsemi: add checks for dma mapping errors rhashtable: Kill harmless RCU warning in rhashtable_walk_init openvswitch: correct encoding of set tunnel action attributes ...
-
David S. Miller authored
Signed-off-by:
David S. Miller <davem@davemloft.net>
-