Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932511AbbDMPl3 (ORCPT ); Mon, 13 Apr 2015 11:41:29 -0400 Received: from mga09.intel.com ([134.134.136.24]:9323 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932101AbbDMPl1 (ORCPT ); Mon, 13 Apr 2015 11:41:27 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,570,1422950400"; d="scan'208";a="712940947" From: Irina Tirdea To: Jonathan Cameron , linux-iio@vger.kernel.org, Hartmut Knaack Cc: linux-kernel@vger.kernel.org, Vlad Dogaru , Irina Tirdea Subject: [PATCH v2 00/17] Fixes for the mma9553 driver Date: Mon, 13 Apr 2015 18:40:47 +0300 Message-Id: <1428939664-12503-1-git-send-email-irina.tirdea@intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1783 Lines: 43 This is a set of follow-up patches for the mma9553 driver that fixes issues as suggested by Hartmut and Daniel. Changes in v2: - split some of the the v1 patches into smaller patches as suggested by Jonathan - reordered the series to have bug fixes first followed by style fixes - use Reported-by for bug fixes - added more fixes for issues detected by checkpatch.pl --strict Irina Tirdea (17): iio: accel: mma9553: fix endianness issue when reading status iio: accel: mma9553: check input value for activity period iio: accel: mma9551_core: prevent buffer overrun iio: accel: mma9553: add enable channel for activity iio: accel: mma9551_core: wrong doc fixes iio: accel: mma9551_core: typo fix in RSC APP ID iio: accel: mma9553: check for error in reading initial activity and stepcnt iio: accel: mma9553: return 0 as indication of success iio: accel: mma9553: comment and error message fixes iio: accel: mma9553: use GENMASK iio: accel: mma9553: prefix naming fixes iio: accel: mma9553: fix gpio bitnum init value iio: accel: mma9553: refactor mma9553_read_raw iio: accel: mma9551_core: use size in words for word buffers iio: accel: mma9553: fix alignment issues iio: accel: mma9553: document use of mutex iio: accel: mma9553: use unsigned counters drivers/iio/accel/mma9551_core.c | 70 ++++++----- drivers/iio/accel/mma9551_core.h | 8 +- drivers/iio/accel/mma9553.c | 253 ++++++++++++++++++--------------------- 3 files changed, 160 insertions(+), 171 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/