Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755867AbbBPSOc (ORCPT ); Mon, 16 Feb 2015 13:14:32 -0500 Received: from mga01.intel.com ([192.55.52.88]:32447 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753821AbbBPSOa (ORCPT ); Mon, 16 Feb 2015 13:14:30 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,589,1418112000"; d="scan'208";a="686461077" From: Irina Tirdea To: Jonathan Cameron , linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Srinivas Pandruvada , Adriana Reus , Irina Tirdea Subject: [PATCH v2 0/2] bmg160 driver optimizations Date: Mon, 16 Feb 2015 20:14:08 +0200 Message-Id: <1424110450-16398-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: 915 Lines: 24 Adds optimization of i2c transactions in trigger handler and usage of available_scan_masks for bmg160. Changes in v2: - fallback to i2c word transactions if i2c block transactions are not supported - use available_scan_masks to let the iio core choose the values selected by the user instead of doing the check in the driver's interrupt handler - check functionality for i2c byte and word read Irina Tirdea (2): iio: gyro: bmg160: use available_scan_masks iio: gyro: bmg160: optimize i2c transfers in trigger handler drivers/iio/gyro/bmg160.c | 50 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 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/