From mboxrd@z Thu Jan 1 00:00:00 1970 From: LW@KARO-electronics.de (=?utf-8?Q?Lothar_Wa=C3=9Fmann?=) Date: Tue, 11 Dec 2012 09:18:51 +0100 Subject: [PATCH 3/4] iio: mxs: Implement support for touchscreen In-Reply-To: <20121210222437.GA19008@core.coreip.homeip.net> References: <1354893893-26338-1-git-send-email-marex@denx.de> <1354893893-26338-3-git-send-email-marex@denx.de> <50C312D8.4050405@kernel.org> <20121210222437.GA19008@core.coreip.homeip.net> Message-ID: <20678.60523.170336.920677@ipc1.ka-ro> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, Dmitry Torokhov writes: > Hi Marek, Jonathan, > > On Sat, Dec 08, 2012 at 10:13:44AM +0000, Jonathan Cameron wrote: > > On 12/07/2012 03:24 PM, Marek Vasut wrote: [...] > > > + int use_touchbutton:1; > > Why would someone not want to use it? > > > > + int use_touchscreen_4wire:1; > > > + int use_touchscreen_5wire:1; > bit fields should be of unsigned type, because otherwise the 'true' value will be '-1' rather than '1'. Lothar Wa?mann -- ___________________________________________________________ Ka-Ro electronics GmbH | Pascalstra?e 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Gesch?ftsf?hrer: Matthias Kaussen Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | info at karo-electronics.de ___________________________________________________________