- 04 1月, 2016 3 次提交
-
-
由 Jacek Anaszewski 提交于
Each break out of the for_each_available_child_of_node loop requires of_node_put(). This patch adds missing of_node_put() when loop breaks on conflicting values of led-sources DT property. Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com> Cc: Rob Herring <robh@kernel.org> Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
-
由 Jacek Anaszewski 提交于
Now the core implements the work queue, remove it from the drivers, and switch to using brightness_set_blocking op. Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com> Acked-by: NSakari Ailus <sakari.ailus@linux.intel.com> Acked-by: NPavel Machek <pavel@ucw.cz>
-
由 Jacek Anaszewski 提交于
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: NJacek Anaszewski <j.anaszewski@samsung.com> Acked-by: NAndrew Lunn <andrew@lunn.ch> Acked-by: NPavel Machek <pavel@ucw.cz> Acked-by: NSakari Ailus <sakari.ailus@linux.intel.com>
-
- 17 9月, 2015 1 次提交
-
-
由 Luis de Bethencourt 提交于
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: NLuis de Bethencourt <luis@debethencourt.com> Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com>
-
- 17 7月, 2015 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
This prepares for merging some of the drivers between max77693 and max77843 so the child MFD driver can be attached to any parent MFD main driver. Move the state container to common header file. Additionally add consistent 'i2c' prefixes to its members (of 'struct i2c_client' type). Signed-off-by: NKrzysztof Kozlowski <k.kozlowski.k@gmail.com> Acked-by: NSebastian Reichel <sre@kernel.org> Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: NLee Jones <lee.jones@linaro.org> Acked-by: NChanwoo Choi <cw00.choi@samsung.com> Acked-by: NJacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: NMark Brown <broonie@kernel.org>
-
- 23 6月, 2015 1 次提交
-
-
由 Jacek Anaszewski 提交于
Add support for V4L2 Flash sub-device to the max77693 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com> Acked-by: NKyungmin Park <kyungmin.park@samsung.com> Cc: Bryan Wu <cooloney@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Acked-by: NSakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: NBryan Wu <cooloney@gmail.com>
-
- 05 5月, 2015 1 次提交
-
-
由 Jacek Anaszewski 提交于
This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface. Device supports up to two leds which can work in flash and torch mode. The leds can be triggered externally or by software. Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: NAndrzej Hajda <a.hajda@samsung.com> Acked-by: NKyungmin Park <kyungmin.park@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Acked-by: NSakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: NBryan Wu <cooloney@gmail.com>
-