Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4578196pxj; Wed, 12 May 2021 08:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMIgQEFIef04QHIWaFstSqsYQiQsqYiZGl7DE3DKjDgdwzo0gvi3vjqgsq5GnZn3FRNn5u X-Received: by 2002:a17:907:1b11:: with SMTP id mp17mr38719560ejc.1.1620833615998; Wed, 12 May 2021 08:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620833615; cv=none; d=google.com; s=arc-20160816; b=R46r/PdiHCD0lzIKj/4JBw0imV2tclUU8JGlOusDWd8rBVEfhAYAoRHfpgimWY8tBv 4aYQFK464uFBGzsOyvIHBtA7FWajbxQnbgsz2ozER3NpTYjOJiO16klBXZck9M9l8B0X WYj6aYqeAVWq5DBqadHPuqGvSTV0eVDEBi/3MU9nURT7ROXgcQm85cnN+fU/r9Q1efHC c+DrgkrDeS+qJE0uEKEKJZ7BJpnE0JXHE8+Rrs6l3qN9b5s+a+URdx6Cn8KdqR2JcOBq 5aUWVIWp5n2+uvifTpUgeN9S29RG9+zPTFXdL7swVcFW/X3xHyM9GS+Y/Q3AX99py4Xk ILIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=o88Xsxru1nsx+cN76ZbzXF/qHmln4njWpYhEPDuLzeE=; b=p+zA9bQ/zJKD7w8kVN7ujNybay3OhNLlHYI1aE0DVb46DODu1pYbDEA3MiPQj4tusT PQeSSVHW/4JO1qDy/kBJO86cTr3clj/LHzdy7ajgAZWigHMtxkIkQgHQnELLgBC8fb8h ChyNCfFyvwYE7gru2rlzfvnfqDCDCbJFi+VyDk4cij7weyNYmLi1y1ORinbVOiW2hJuR 5Rq9Wp0uUk6NjWlmYo6GtSstYWqWHHiZFiFvlXCb2NAzW558dix8LD07k5D2OFj+jYWB YrjRuMBSy40klenBvfhm3iM7N5yY+mNJspaa7E83//nAzAoUIK44JNjtb3bQt4b/OjuB EYHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="LdjYJ5/j"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg2si240944ejb.495.2021.05.12.08.33.12; Wed, 12 May 2021 08:33:35 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="LdjYJ5/j"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233941AbhELPc5 (ORCPT + 99 others); Wed, 12 May 2021 11:32:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:50810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233985AbhELPPv (ORCPT ); Wed, 12 May 2021 11:15:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 82E0F6194B; Wed, 12 May 2021 15:05:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620831923; bh=p7oZqjXWuE1cWkBeLWzNJRLy9g7AUCPEUr1Hre8cKBM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LdjYJ5/jmkNC23r6O4celMgO/f1eo1DJOIqEHNcVcFYmi01qcCCnIHUMWAgyCJjD7 9zawpR5IxHQ7kXBYHpv3eMqZ1aaDrvHZg6E2Zi1gDxRUZid9DtwcrqrNwM+1ajdPeX S6rou8USCAvGSdd4Ch5R5Ja8cSwPBN+r/x1e7V6Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jonathan Cameron , Stable@vger.kernel.org, Himanshu Jha , =?UTF-8?q?Nuno=20S=C3=A1?= , Alexandru Ardelean Subject: [PATCH 5.10 035/530] iio:accel:adis16201: Fix wrong axis assignment that prevents loading Date: Wed, 12 May 2021 16:42:25 +0200 Message-Id: <20210512144820.896208738@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Cameron commit 4e102429f3dc62dce546f6107e34a4284634196d upstream. Whilst running some basic tests as part of writing up the dt-bindings for this driver (to follow), it became clear it doesn't actually load currently. iio iio:device1: tried to double register : in_incli_x_index adis16201 spi0.0: Failed to create buffer sysfs interfaces adis16201: probe of spi0.0 failed with error -16 Looks like a cut and paste / update bug. Fixes tag obviously not accurate but we don't want to bother carry thing back to before the driver moved out of staging. Fixes: 591298e54cea ("Staging: iio: accel: adis16201: Move adis16201 driver out of staging") Signed-off-by: Jonathan Cameron Cc: Cc: Himanshu Jha Cc: Nuno Sá Reviewed-by: Alexandru Ardelean Link: https://lore.kernel.org/r/20210321182956.844652-1-jic23@kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/iio/accel/adis16201.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/iio/accel/adis16201.c +++ b/drivers/iio/accel/adis16201.c @@ -215,7 +215,7 @@ static const struct iio_chan_spec adis16 ADIS_AUX_ADC_CHAN(ADIS16201_AUX_ADC_REG, ADIS16201_SCAN_AUX_ADC, 0, 12), ADIS_INCLI_CHAN(X, ADIS16201_XINCL_OUT_REG, ADIS16201_SCAN_INCLI_X, BIT(IIO_CHAN_INFO_CALIBBIAS), 0, 14), - ADIS_INCLI_CHAN(X, ADIS16201_YINCL_OUT_REG, ADIS16201_SCAN_INCLI_Y, + ADIS_INCLI_CHAN(Y, ADIS16201_YINCL_OUT_REG, ADIS16201_SCAN_INCLI_Y, BIT(IIO_CHAN_INFO_CALIBBIAS), 0, 14), IIO_CHAN_SOFT_TIMESTAMP(7) };