Skip to contentSkip to conversation

Patch "iio:adc:cc10001_adc: fix Kconfig dependency" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Jul 30, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iio:adc:cc10001_adc: fix Kconfig dependency

to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
iio-adc-cc10001_adc-fix-kconfig-dependency.patch
and it can be found in the queue-4.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From b2b3c3dc6a7bef886850920f5f5dca041b443aa0 Mon Sep 17 00:00:00 2001

From: Hartmut Knaack <[email protected]>
Date: Sun, 21 Jun 2015 12:15:50 +0200
Subject: iio:adc:cc10001_adc: fix Kconfig dependency

From: Hartmut Knaack <[email protected]>

commit b2b3c3dc6a7bef886850920f5f5dca041b443aa0 upstream.

The Cosmic Circuits 10001 ADC driver depends on HAS_IOMEM, HAVE_CLK and REGULATOR together, not just any of these.

---
 drivers/iio/adc/Kconfig |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iio/adc/Kconfig +1 -2
@@ -146,8 +146,7 @@ config DA9150_GPADC
 
 config CC10001_ADC
 	tristate "Cosmic Circuits 10001 ADC driver"
-	depends on HAVE_CLK || REGULATOR
-	depends on HAS_IOMEM
+	depends on HAS_IOMEM && HAVE_CLK && REGULATOR
 	select IIO_BUFFER
 	select IIO_TRIGGERED_BUFFER
 	help

Patches currently in stable-queue which might be from [email protected] are

queue-4.1/iio-accel-bmc150-accel-fix-counting-direction.patch queue-4.1/iio-light-cm3323-clear-bitmask-before-set.patch queue-4.1/iio-adc-cc10001_adc-fix-kconfig-dependency.patch