Message ID | 20241203110019.1520071-17-u.kleine-koenig@baylibre.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show
Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 111A81E3DED for <linux-iio@vger.kernel.org>; Tue, 3 Dec 2024 11:01:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733223684; cv=none; b=k6x8BOrARNeDPbXI2JzUfvyVvwfCiYlLRJePqhWV1NkX3P/Gj1fAVEBd7NLV0a/a59TY0DEXAN0rp7udLoH0GLAyxWbihHcbSruvSpXYNH6YO2Kmw3JXoF6OYiYCzssTDjo2gBGf6Pnz0LjlgZRamqc1R7ackwCf5zBaqzBSng8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733223684; c=relaxed/simple; bh=dkTnukD2rrkruTwfH798eaeGxe3q8221q3Q+tAj6IYI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qksS+tN2NeIfBbCkCU3ADssOJwRBM3XrAYH58igOENlP8mlIZu3WEoCCz0BaCIqqnDkXlNI7U4FMe68rHRlPEUMME7UwrcMo02aI4XCCPGCDMPABovpNxFktlyK6NcC8gav4keUQjdUhzexv4aMIOO/g45Fhl8Zi7ingWJU2mTs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=Dglka5za; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="Dglka5za" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-385e1f12c82so3548730f8f.2 for <linux-iio@vger.kernel.org>; Tue, 03 Dec 2024 03:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1733223681; x=1733828481; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=L8sEiFdmMWi2hzthhwzHkLTong+QNvgFETpYvC/h2tk=; b=Dglka5za8W2pq9FSkPSM9jpqG78CsAyU9dRyh/sB6k5xalR4dmpYlZ0Ur9sR3vK4nO MDUhXqCYfDQ7wC9OF2K5OmjKpR3g7y2/c7Bz3G4sjpD8ski5QbaWe0Pp+n+zCTPYWNRF qOlQ5guKRXaubrGx71zIVzu9EK3cGfZfOP7AcXCgeOd5V70qZptXqniGXK6hVwXNzstf ZUihx/1hBLj1ZF0q72cNDSb73AX8aJk0rDfwsskdPjbs49PCZI0+TDFwnR8bute50BfO fli1dOcxRge6CyPxcTuJuZWz/P4z4EHxHyH00KpUI8SjRMUzkldy//bnVL4Lka4Ga0Fb NiWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733223681; x=1733828481; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L8sEiFdmMWi2hzthhwzHkLTong+QNvgFETpYvC/h2tk=; b=YuBlpWd0Rs679n3zDcsaRyDTTxf3v9aPOKW8oHxh5CTW1wnvyQ2ueGEgsFiMGlfKhs DZB/WnklVrub6kb8Z/gTz5To+KbzTQyocnykOVgX01DvMeJvuGN32MP+l7koKQr2EL+A 6D52HqSa08Pv3W7LBQpvlDaNeTdEzZbSQNthlmee5+kY72vIoX7BVo9JftPXgDmQelvI TvB2X5wM6E6UHGE7OTm0zQEJ0vMhK+3P7b4KP+9xSlX6g927jWxM6Zx78mJIqepmd/2L UEQAkeAgX5PKD8F2ZqP/8UBW1WRhbK/4+oUnU152HE5tVnLFiWCtIHCl0hZ4BKT7kTjG DAKA== X-Forwarded-Encrypted: i=1; AJvYcCUNtgk2+gKC38xdzS0WNiA1vr1ztlyXx5xJmnskZNz9fumrFiQ7o++eiDBcGZ5nuUkn90zn8BkUsqs=@vger.kernel.org X-Gm-Message-State: AOJu0YxYWbd/z+HxLbDeT7ShtBnYL9Q83BA8x1fnLOlCXqO8KyArexoi 422APLLqy+yoNz86+ec5x92TV4cIkFVI13XtnQxWR6alFjLxFhVTCEfT2WQJ48g= X-Gm-Gg: ASbGncukyeWluGvnK5qqOXBdvIkhbA3uePlC5/bwWQMs1BIQgR7ac35nooe13Njn6mu RgJ4JAYYp6//3/4cwscTYpCh2D5rXZ5VwocEu0pvNuccsptE+DL6RKKQ0PTl81oKSLmLeGt3qVS XsSGSlHxykjKETsWgjpMfUD8362z5TUGIkIOsz7rpUzRMhZBocPvnCR/qjQTQOgUFaRCqXNEpGY ZFKw1/dEk0tc0moNbGPGufURNhEUnj57ozOU0TQSQNmI2wxmcgWekIOVYoHCoIgEgo1Bv+FEnFw zfBpaXxE9V8RcvvDTCndjiYVU/wEUiuQPPSJbJ8= X-Google-Smtp-Source: AGHT+IHvQ1Sey5bBeafu9jqtRUmCuPeE8ddeFRmxiOx5J9cEDyNaOjdFEfD8olz3nQU6ugPn8QDp1g== X-Received: by 2002:a05:6000:2801:b0:385:ebc4:1c62 with SMTP id ffacd0b85a97d-385fd3f268fmr1564168f8f.24.1733223681349; Tue, 03 Dec 2024 03:01:21 -0800 (PST) Received: from localhost (p200300f65f242d005bbc9b581c6b9666.dip0.t-ipconnect.de. [2003:f6:5f24:2d00:5bbc:9b58:1c6b:9666]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385ddb364e3sm12796164f8f.27.2024.12.03.03.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 03:01:20 -0800 (PST) From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@baylibre.com> To: Jonathan Cameron <jic23@kernel.org> Cc: Lars-Peter Clausen <lars@metafoo.de>, Michael Hennerich <Michael.Hennerich@analog.com>, linux-iio@vger.kernel.org, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Alisa-Dariana Roman <alisa.roman@analog.com>, Renato Lui Geh <renatogeh@gmail.com>, Ceclan Dumitru <dumitru.ceclan@analog.com>, devicetree@vger.kernel.org, Nuno Sa <nuno.sa@analog.com>, David Lechner <dlechner@baylibre.com>, Alexandru Ardelean <aardelean@baylibre.com>, Andy Shevchenko <andy.shevchenko@gmail.com>, Trevor Gamblin <tgamblin@baylibre.com> Subject: [PATCH v5 05/10] iio: adc: ad_sigma_delta: Handle CS assertion as intended in ad_sd_read_reg_raw() Date: Tue, 3 Dec 2024 12:00:25 +0100 Message-ID: <20241203110019.1520071-17-u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241203110019.1520071-12-u.kleine-koenig@baylibre.com> References: <20241203110019.1520071-12-u.kleine-koenig@baylibre.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: <linux-iio.vger.kernel.org> List-Subscribe: <mailto:linux-iio+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-iio+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=953; i=u.kleine-koenig@baylibre.com; h=from:subject; bh=dkTnukD2rrkruTwfH798eaeGxe3q8221q3Q+tAj6IYI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBnTuTTrHUffRNjnKdY3og9fWY46C7ZE5BO0lhvf IA8qsTdgOqJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZ07k0wAKCRCPgPtYfRL+ TvIdCACT/CGSXboDEpBNsSE4VcFYnMpX7yyqbiq79d6mTLGclPH0/isWLJzrUXKEFDz35YItMCr VhZd0oQeklOrjgwqVtA2AzU94ju04iV9uthjbSGEIDkYeGXqm7FqoWoQowKA7aW1yEb19oXkbj5 guhgxznuAizgqzIcHaKHvCQvJ6Lt5D7VFgEdbBS6PvtkqO+nozrg7FY0WohbzkFLqFXqF2ecWX7 F5fyCyNN8uQGoHbtDHOmQXYs2oAjWriuhUGgseLVcNSoHPGWWOkA4cKh0FsF+hFPIsTYC5LHvMc MCa2bTlRnBDrs/WtYtBSy2QjBYlBRpQfWPAfm9mzG7LWtHoN X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit |
Series |
iio: adc: ad7124: Various fixes
|
expand
|
diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers/iio/adc/ad_sigma_delta.c index 7f4eae5244dc..a2efd2145373 100644 --- a/drivers/iio/adc/ad_sigma_delta.c +++ b/drivers/iio/adc/ad_sigma_delta.c @@ -109,7 +109,7 @@ static int ad_sd_read_reg_raw(struct ad_sigma_delta *sigma_delta, }, { .rx_buf = val, .len = size, - .cs_change = sigma_delta->bus_locked, + .cs_change = sigma_delta->keep_cs_asserted, }, }; struct spi_message m;