- 18 3月, 2013 40 次提交
-
-
由 Lars-Peter Clausen 提交于
The ad7924 is software compatible with the ad7923. The ad7904 and ad7914 are the 8 and 10 bit version of the ad7924. While we are at it also drop the "with temperature sensor" from the Kconfig entry, since the chips do not have a temperature sensor. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Cc: Patrick Vasseur <patrick.vasseur@c-s.fr> Cc: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Lars-Peter Clausen 提交于
The driver already claims to support scale reporting in its channel spec, but doesn't actually implement this yet. This patch uses the regulator API to get the reference voltage and calculates the scale based on that. The patch also moves the global configuration bits into a field in the ad7923_state struct, since depending on the RANGE bit, the range goes either from 0 to VREF or from 0 to 2 * VREF. So we need to know the setting of the RANGE bit when calculating the scale. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Cc: Patrick Vasseur <patrick.vasseur@c-s.fr> Cc: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Lars-Peter Clausen 提交于
Instead of leaving 'val' uninitialized return an error if the result's address did not match that of the channel we were trying to read. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Cc: Patrick Vasseur <patrick.vasseur@c-s.fr> Cc: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Ge Gao 提交于
Signed-off-by: NGe Gao <ggao@invensense.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Naveen Krishna Chatradhi 提交于
As the exynos_adc driver only supports device tree registration. Making driver depend on CONFIG_OF solves possible errors during probe. Signed-off-by: NNaveen Krishna Chatradhi <ch.naveen@samsung.com> Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NDoug Anderson <dianders@chromium.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Lars-Peter Clausen 提交于
Currently it is not save to call iio_push_event() from hard IRQ context since the IIO event code uses spin_lock()/spin_unlock() and it is not save to mix calls to spin_lock()/spin_unlock() from different contexts on the same lock. E.g. if the lock is being held in iio_event_chrdev_read() and an interrupts kicks in and the interrupt handler calls iio_push_event() we end uo with a deadlock. This patch updates iio_push_event() to use spin_lock_irqsave()/ spin_unlock_irqstrestore(), since it can be called from both IRQ and non-IRQ context. All other other users of the lock, which are always run in non-IRQ context, are updated to spin_lock_irq()/spin_unlock_irq(). Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Jonathan Cameron 提交于
This has been replaced by the pair of masks info_mask_separate and info_mask_shared_by_type. Other variants may follow. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Roland Stigge <stigge@antcom.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NStefan Roese <sr@denx.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de> cc: Patrick Vasseur <patrick.vasseur@c-s.fr> cc: Christophe Leroy <christophe.leroy@c-s.fr>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NNaveen Krishna Chatradhi <ch.naveen@samsung.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Shubhrajyoti D <shubhrajyoti@ti.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Andrew Chew <achew@nvidia.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Jon Brenner <jon.brenner@ams.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLaxman Dewangan <ldewangan@nvidia.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NRhyland Klein <rklein@nvidia.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLars-Peter Clausen <lars@metafoo.de>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Peter Meerwald <pmeerw@pmeerw.net>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Jon Brenner <jbrenner@taosinc.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Johan Hovold <jhovold@gmail.com>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Peter Meerwald <pmeerw@pmeerw.net>
-
由 Jonathan Cameron 提交于
The original info_mask is going away in favour of the broken out versions. Signed-off-by: NJonathan Cameron <jic23@kernel.org> cc: Ge Gao <ggao@invensense.com>
-