Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1081112ybl; Wed, 14 Aug 2019 10:23:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuVa4yZCbfB0MuKALCNz36vrrLxpV8XO9uznGMZ5sgkxnVk+2wGM59QdAgCvOCxHffdXkI X-Received: by 2002:a65:6817:: with SMTP id l23mr272914pgt.46.1565803398689; Wed, 14 Aug 2019 10:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565803398; cv=none; d=google.com; s=arc-20160816; b=GjIhX70gJnvaKyzbdLKUKD/0bmdl9XjbvwgZDTewX7ILQKFQZedpa7Vtor6f0n1s6R kyx+bz2wZEyfcDbVrCatDjGPJ2nCrgtNS5A0B0xfpQIsgPnnjqRlILsRGKg+4wmnpj0O IxQDCJ8W+OQ4gkw7McJAFni1TVOKnT/a87UAjGdY493A7NJgfHRbFAldWxkW7aVYkbpY qA1hhT9Z7+3UJvUSq5iaflPfgdWH/zisww19CWlItw8trdC37CCxRUeQEyoJCDDJlG2z aPCZa1ZS3+Ji88F+4Mfyp9mmzBsCi+n9pu4EQN6uVu0uF/outbmoMTwljsjdTPSpyVus 6RXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Yc8anzFsyXC8d2U5NwuGnBEMrBBboDPR95p++vS1LGo=; b=OXdB5kK+JGqO4vKD9++vSMQu10+n3t8JZEptD8X9vCnR1CtgsqDDHgr8TgCJCg7ZIy p5T0gWAV+mCLnWmq8EhPd6sfRh7u/+cHeeHvxa0+SJ964/K8iwyjz0FIIQQpZrZpS8Kv LYQ4JjV5CU+Fd4BTiO6tqw/2JSYHsOz/uE0Ax3f1+lvZUC3tU5utttBDbwBDb6v1Rx3/ cjZ9dCnQj/7QUR2/HmoBcbDfE4sJUrphPaAT4umOdQhpYC5bi4oZK6SA1/3KhcUZsfDm GLGKYQw6OBv+UqZkHrJxjdxSZ7G2uhtaFGCb2Q3oKCgIEd+VtdmSIU1EhrlT6RcBLGaC vXVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=THtjMvoJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j33si251527pld.390.2019.08.14.10.23.02; Wed, 14 Aug 2019 10:23:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=THtjMvoJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729336AbfHNRIe (ORCPT + 99 others); Wed, 14 Aug 2019 13:08:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:58526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726585AbfHNRI2 (ORCPT ); Wed, 14 Aug 2019 13:08:28 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1C8E2084D; Wed, 14 Aug 2019 17:08:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802508; bh=qwsffHWW0eI3fbDTxJwbQQuhHJQ4PAHCk58eKDJhZ28=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=THtjMvoJhSjdr4N1AO0xmN2pLIaXgi3sCkdVFjj4D+lAIof/czHqboC/ydyct28Pe LNJdduz9o9YGk/ZneNb3AA3AjMyuoXNOR7asZGXazbwSu6YMUguiq2POmz9w8MCHeo EOw2YvoEKVlXVQOyFrBHzFv2D0y9KeFPC0E0gppU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Gwendal Grignou , Stable@vger.kernel.org, Jonathan Cameron Subject: [PATCH 4.19 01/91] iio: cros_ec_accel_legacy: Fix incorrect channel setting Date: Wed, 14 Aug 2019 19:00:24 +0200 Message-Id: <20190814165749.035589218@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165748.991235624@linuxfoundation.org> References: <20190814165748.991235624@linuxfoundation.org> User-Agent: quilt/0.66 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gwendal Grignou commit 6cdff99c9f7d7d28b87cf05dd464f7c7736332ae upstream. INFO_SCALE is set both for each channel and all channels. iio is using all channel setting, so the error was not user visible. Signed-off-by: Gwendal Grignou Cc: Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/iio/accel/cros_ec_accel_legacy.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/iio/accel/cros_ec_accel_legacy.c +++ b/drivers/iio/accel/cros_ec_accel_legacy.c @@ -328,7 +328,6 @@ static const struct iio_chan_spec_ext_in .modified = 1, \ .info_mask_separate = \ BIT(IIO_CHAN_INFO_RAW) | \ - BIT(IIO_CHAN_INFO_SCALE) | \ BIT(IIO_CHAN_INFO_CALIBBIAS), \ .info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SCALE), \ .ext_info = cros_ec_accel_legacy_ext_info, \