From patchwork Tue Jun 29 12:46:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hennerich, Michael" X-Patchwork-Id: 108618 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5TDMtae013846 for ; Tue, 29 Jun 2010 13:23:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754278Ab0F2MwS (ORCPT ); Tue, 29 Jun 2010 08:52:18 -0400 Received: from nwd2mail10.analog.com ([137.71.25.55]:4890 "EHLO nwd2mail10.analog.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754823Ab0F2MwM (ORCPT ); Tue, 29 Jun 2010 08:52:12 -0400 X-IronPort-AV: E=Sophos;i="4.53,505,1272859200"; d="scan'208";a="18182992" Received: from nwd2hubcas2.ad.analog.com ([10.64.73.30]) by nwd2mail10.analog.com with ESMTP; 29 Jun 2010 08:52:11 -0400 Received: from zeus.spd.analog.com (10.64.82.11) by NWD2HUBCAS2.ad.analog.com (10.64.73.30) with Microsoft SMTP Server id 8.1.358.0; Tue, 29 Jun 2010 08:52:11 -0400 Received: from [10.44.2.88] ([10.44.2.88]) by zeus.spd.analog.com (8.14.1/8.14.1) with ESMTP id o5TCq9sV009891; Tue, 29 Jun 2010 08:52:10 -0400 (EDT) Subject: [PATCH 1/2] ad7879: fix spi word size to 16 bit From: Michael Hennerich Reply-To: michael.hennerich@analog.com To: dmitry.torokhov@gmail.com CC: linux-input@vger.kernel.org, uclinux-dist-devel@blackfin.uclinux.org, vapier@gentoo.org Organization: Analog Devices Inc. Date: Tue, 29 Jun 2010 14:46:55 +0200 Message-ID: <1277815615.11338.5.camel@mhenneri-D02.ad.analog.com> MIME-Version: 1.0 X-Mailer: Evolution 2.24.1.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 29 Jun 2010 13:23:48 +0000 (UTC) diff --git a/drivers/input/touchscreen/ad7879-spi.c b/drivers/input/touchscreen/ad7879-spi.c index 9fa8e5d..59c6e68 100644 --- a/drivers/input/touchscreen/ad7879-spi.c +++ b/drivers/input/touchscreen/ad7879-spi.c @@ -134,6 +134,7 @@ static const struct ad7879_bus_ops ad7879_spi_bus_ops = { static int __devinit ad7879_spi_probe(struct spi_device *spi) { struct ad7879 *ts; + int err; /* don't exceed max specified SPI CLK frequency */