Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3580666pxb; Sun, 31 Jan 2021 21:55:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/iExTH8s60Ob0WXfeUPzxJqhImWAljG/4lBJBuPfOw+rKLjeo+Tw72WFIqJClwnISG4/a X-Received: by 2002:a05:6402:d09:: with SMTP id eb9mr728515edb.285.1612158942244; Sun, 31 Jan 2021 21:55:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612158942; cv=none; d=google.com; s=arc-20160816; b=LF0/sy/E17reH1jdFQiHF9pKbdy1hBcbIRZDPjoPnvzC0ohcF0ancz3Fw0v7bETT1K b1FYfxPfspjFvCvOT55/pZZp0qsc29Eth8JCzKOwYCRGRVT8bL3MdsYrvoZBqZ3Buqxj 7U5u2QBvz8cUJoUy1T08pdOLvpTXvEr5qQst13y4MRZ/QC4Asj6QypI8lx5/TSO0rZiJ w6Qt62FJOVOlF8Ft++zK+JOcJCt17tbK5Im0qbPDxOM+xATnccIgvpM8s8mK6sazOWGq JLE7AT25yMRS3U0eE6pzkt/jtVB8yiz8/covDQS3wcXPV9HGuOPYCpbR2cF3keVVK4nx enlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=/vNzqOh4iiJ7hYzKz9AFHuAcBnOlMlQaFxAhfhljic8=; b=KMaUs3ess6cLTdgfFIjXJgRyHPunxHmDR4e/g6dlfaCb0ItIIhAs9EGwjd9nVSiPKL ax+qZvmDAy2TU+KMmCwQGJoROvPfVp6qbIcDHF8kZlZkU2uCkmu+ydlou3TT6UNWf4YI Y8FxWHsg4D4v6AO7IGDDfKDc2PpLAkqJGbPm/IYSX2rUiYHBY9F8LTR7tCS8NU8DpX8/ suHdQN7axEUYByDaFejRWwwTOC2w9gAmFmxebWWHowMdPhkOXhEDEI7y0BcH7FUEAQDB 3ks70UiTUNhFoyLvIEG5PC2sW8BkasGG0Hu38njxT/0SoCXW/a5Wj2QbzcOLzycCWWOU 7O3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o2si10044602ejn.501.2021.01.31.21.55.18; Sun, 31 Jan 2021 21:55:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231701AbhBAFyR (ORCPT + 99 others); Mon, 1 Feb 2021 00:54:17 -0500 Received: from mga11.intel.com ([192.55.52.93]:19152 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231678AbhBAFtM (ORCPT ); Mon, 1 Feb 2021 00:49:12 -0500 IronPort-SDR: wvKYythIv9f2yYdRT3mlzF5GjcEfxTa9OGsyghikuw7V5onNMqpyd3YEiOR0Nh3CESYDLfJIQo u+SJX65lKZoA== X-IronPort-AV: E=McAfee;i="6000,8403,9881"; a="177129612" X-IronPort-AV: E=Sophos;i="5.79,391,1602572400"; d="scan'208";a="177129612" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2021 21:48:31 -0800 IronPort-SDR: ON2leQPWDK+SX3Y2+E5xQdPnNCB8cvaFRPa7fjYnG3Xbp0/Q1zpLKDZEEbF56hboFOqwMYTGhq WAnuzMLFHzaA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,391,1602572400"; d="scan'208";a="506706366" Received: from host.sh.intel.com ([10.239.154.115]) by orsmga004.jf.intel.com with ESMTP; 31 Jan 2021 21:48:30 -0800 From: Ye Xiang To: jikos@kernel.org, jic23@kernel.org, srinivas.pandruvada@linux.intel.com Cc: linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ye Xiang Subject: [PATCH v2 0/2] resolve read hystersis return invalid argument issue for hid sensors Date: Mon, 1 Feb 2021 13:49:19 +0800 Message-Id: <20210201054921.18214-1-xiang.ye@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series move get sensitivity attribute to common layer and resolve read hystersis return invalid argument issue for hid sensors als, incli-3d, rotation, and press on intel ISH Platform. --- v2: - separate the add relative sensitivity patch to the next patch series. Ye Xiang (2): iio: hid-sensors: Move get sensitivity attribute to hid-sensor-common hid-sensors: Add more data fields for sensitivity checking drivers/iio/accel/hid-sensor-accel-3d.c | 23 ++++++------- .../hid-sensors/hid-sensor-attributes.c | 17 +++++++++- drivers/iio/gyro/hid-sensor-gyro-3d.c | 19 ++++------- drivers/iio/humidity/hid-sensor-humidity.c | 16 ++++------ drivers/iio/light/hid-sensor-als.c | 20 +++++------- drivers/iio/light/hid-sensor-prox.c | 27 +++++----------- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 32 ++++++------------- drivers/iio/orientation/hid-sensor-incl-3d.c | 20 +++++------- drivers/iio/orientation/hid-sensor-rotation.c | 24 ++++++-------- .../position/hid-sensor-custom-intel-hinge.c | 20 ++++-------- drivers/iio/pressure/hid-sensor-press.c | 20 +++++------- .../iio/temperature/hid-sensor-temperature.c | 16 ++++------ drivers/rtc/rtc-hid-sensor-time.c | 4 ++- include/linux/hid-sensor-hub.h | 4 ++- 14 files changed, 111 insertions(+), 151 deletions(-) -- 2.17.1