Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp330245pxj; Thu, 20 May 2021 10:16:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaTgQ099QA+qY8gyOAL3Z2Ms98nk2m6s+gtm74Jak+pgMr4NA+B2RiAx2hiArPo4Eg8+4z X-Received: by 2002:a05:6e02:1088:: with SMTP id r8mr7099362ilj.76.1621530995747; Thu, 20 May 2021 10:16:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621530995; cv=none; d=google.com; s=arc-20160816; b=jmMWNvPi8mxfZ5sUNWM8m/bzMKGKxr9x0B9baP9ZM8mdG2MGjc62ORWyMTW3xcB8No IBpyI6aIZHwO5qEnZ2zvKbUPJeKjDPEe3TnVGljQIUXsrCEPDSWGOuNhcs22bc2v6HFA AHn0CalECS9u7CkOBA6W7Gy+zsXakOacKlBWKWffdSm6gbPmSoFy3v7pyXJsf87VzwI7 8PtcyNdLBECelE3YePOMeFEdoqXa/vxaiuTFvsCbxpzOGBGx27QbHOwnQIppQUOmpSqK azXe16EiOmVfxYcazGhkyetgKizB88+TM/eFcUD0maD3UIr0UsjfaQCSo6ppi8JHD4bS 68EA== 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=lAEESoj0Q2bOEsWLJU8DeW9YSTMekFaR5Oc74ZOeUHM=; b=BFDdIDwyov5/JIasW2IhgOPu+J8IfgDU69thZzBJQaUVwvF4KNEr70FiXUoXiKQ/7r 9ni6YWjlB+EY8pfbaR1Zj1Yjd/9JLpF4x/NgLtxXZI+2ra0/j19PvIAixHdg1txg+VLX 5CJzjppLx1MXMe5b4BG+80GNlUgGo9w0yvjfT0c+ZCTWJ2lRKx1tKDbavsEhvREHO3QE nk601Lprix0iQzMltKue8j9lq+eMpeVYJUKmwxqzm86s6u+zjwvGnTIQNVsiqAjkgXDI jW0MHn+1gQgA5Z3FJkTfQzvP/+zwMgxU1TuCE+fiIeHhMlwmdWAcgdHHdUEK9qcpw//q LosQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BKQPjq0Z; 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 t14si2788824ios.45.2021.05.20.10.16.20; Thu, 20 May 2021 10:16: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=BKQPjq0Z; 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 S234335AbhETJtR (ORCPT + 99 others); Thu, 20 May 2021 05:49:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:48004 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233863AbhETJq7 (ORCPT ); Thu, 20 May 2021 05:46:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B3C5461462; Thu, 20 May 2021 09:34:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621503250; bh=mYw5oaIwwa34eVJfCI5ZeTCLCDbvAMXfqd1DVVts2no=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BKQPjq0ZpFbQT4RGjy8CQQF+8rUJ+SDZ3fNw6mDLjCEPkJGHkuiIIstGSkmlBySzu C4zqST8qTGvF5ADhmYSIhgY4cNyRFmDNW24xN9Pl9PtAy35Hdx6OFzT+wfaFFOqIFB 0HKOHRSIaSIzMuVtFASczfBucV/YvErs4IiEPSHY= 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 4.19 135/425] iio:accel:adis16201: Fix wrong axis assignment that prevents loading Date: Thu, 20 May 2021 11:18:24 +0200 Message-Id: <20210520092135.874872951@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092131.308959589@linuxfoundation.org> References: <20210520092131.308959589@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 @@ -216,7 +216,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) };