lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B1D1CF5.6030502@cam.ac.uk>
Date:	Mon, 07 Dec 2009 15:19:17 +0000
From:	Jonathan Cameron <jic23@....ac.uk>
To:	Randy Dunlap <randy.dunlap@...cle.com>
CC:	Stephen Rothwell <sfr@...b.auug.org.au>, gregkh@...e.de,
	linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] Staging: IIO: add selection of IIO_SW_RING to LIS3L02DQ as
 needed


Signed-off-by: Jonathan Cameron <jic23@....ac.uk>
Reported-by: Randy Dunlap <randy.dunlap@...cle.com>
---

 Thanks to Randy for the report. Sorry for the slow response.
 I've been meaning to carefully check for any remaining cases like
 this.
 Here I've kept the selection of IIO_SW_RING separate from
 IIO_TRIGGER as it will go away fairly shortly when the ring buffer
 type becomes configurable on a per device basis, whereas the
 IIO_TRIGGER select will remain. Whether to retain the option to
 remove the support for ring buffers entirely is one for after that
 support is in place.

 Touch wood I think this is the last one, but I'll try a selection of
 unusual combinations now and post others as replies to this email.

 drivers/staging/iio/accel/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/iio/accel/Kconfig b/drivers/staging/iio/accel/Kconfig
index 4044663..3d3c333 100644
--- a/drivers/staging/iio/accel/Kconfig
+++ b/drivers/staging/iio/accel/Kconfig
@@ -14,6 +14,7 @@ config LIS3L02DQ
 	tristate "ST Microelectronics LIS3L02DQ Accelerometer Driver"
 	depends on SPI
 	select IIO_TRIGGER if IIO_RING_BUFFER
+	select IIO_SW_RING if IIO_RING_BUFFER
 	help
 	  Say yes here to build SPI support for the ST microelectronics
 	  accelerometer. The driver supplies direct access via sysfs files
-- 
1.6.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ