From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794049239; b=fz0PPzIImL851EhpC0ZR/IPHD20wvutluNFzXqXk4NPonG1/MX7aA6oejvvORFikub1r Fb6/egULls9fs4UC2i7t6RdO6Jo1duxIjYdyYrBcLH5K+BRgz0pnNd6i42Uk4Cm2IOzWm eIBHmyQnnFUFzICrgCcVjyK4vql0gIF/8a9kPhYUiqut9o545RYhMEg8t+h7z47Rb3sL3 FJ33xKjIifJ4qhsQbacJCVr+osINJYvcucI8cikEsQXc8fQSEsSVDK1zwkVW2crEeBV7j vFWdcW2rKURqWbbnTuyKz6p0Qglvj4BcUmAZ8YMztnLGuXas/ehBYadAQXkVqw4ohbw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794049239; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=+zeAz1FbMtJA8WnULR1ioCdbdif40PEmMiF2SJs/jBM=; b=Y1xQWO831VLJ8UJhyrcQO7LVwNbJrYwthatgB3ktSaIrpFUnba/YcfpIUccVl3ZKPqnC XMldJdmjTL0lhcPwzkXL2jdknhF6GHwtibt2xrwMRZYzwvYzHohB1vHx6Nj0iLhGH+7uW bPGNAJ3JTQ9FThPzJh6Or5CdaVY9aZna8pEQnCU2iP1xX25dak/p377HopfCC+fhya4Bq jrVymlnpRfeZU2EdON4jwqcQoagsrg7Xt3xEFZSr0IsxV9ktPibFGEj9M3IIrDADTOfxQ AHhl957cqZkrQCnNCczUj9CaoMUaDv2xSMK2DnnFKJS7odDVyw8EKnHimMibS4OSvoQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cX9kk3N9; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FD7F606A32D for ; Sat, 7 Nov 2026 11:00:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cX9kk3N9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2D8C1F0089F; Sat, 7 Nov 2026 11:00:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794049239; bh=+zeAz1FbMtJA8WnULR1ioCdbdif40PEmMiF2SJs/jBM=; h=From:To:Cc:Subject:Date; b=cX9kk3N9YJSIC34TXk7myR9AXY00Jsbbhvr2VSC0fdo+18JUM9FTTt++MHhKr4/JE Jjca0IEe/z4OQiQY5YZOYNaVwQHnLZWklQ+21EW5j3qyXKYI+nRurqWFC82MkAEzXI NoRV5Iu068idHkoxUkEYHheMZIPjuEyNh8F4p+1LPC43jZQ9EsRziQmalDhlD8p5xK oehtiuFxUiJ7o4efhp3qzI+5Ygqe84/VQOxMrzKZ1GfbHPS5c8eIZo0F8P1WifJ9iO 89LWHo1+ZgxVIEqiOT5PyYTXCWgHBrIQ435kaX1UYNuhTfHjoxXh9dwIMCogBPrp1r kmg9o6EDInS6Q== From: Sasha Levin To: zoone.rupert@gmail.com, jonathan.cameron@oss.qualcomm.com Cc: stable@vger.kernel.org Subject: FAILED: patch "[PATCH] iio: pressure: dps310: fix CFG_REG bit definitions" failed to apply to 5.15-stable tree Date: Sat, 7 Nov 2026 06:00:37 -0500 Message-ID: <20261107060037-failed-5.15-4334dc4092c2@kernel.org> X-Mailer: git-send-email 2.53.0 X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x 4334dc4092c271e6cd010c2ee70b7f4415c4c199 # git commit -s git send-email --to '' --in-reply-to '20261107060037-failed-5.15-4334dc4092c2@kernel.org' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Thanks, Sasha ------------------ original commit in Linus's tree ------------------ >From 4334dc4092c271e6cd010c2ee70b7f4415c4c199 Mon Sep 17 00:00:00 2001 From: Rupesh Majhi Date: Mon, 21 Sep 2026 21:31:23 +0300 Subject: [PATCH] iio: pressure: dps310: fix CFG_REG bit definitions Driver defines them as BIT(4), BIT(5) and BIT(6). Per datasheet P_SHIFT is bit 2, FIFO_EN is bit 1 and SPI_MODE is bit 0. Only P_SHIFT has a user. dps310_set_pres_precision() sets it at oversampling 16 or above, so with wrong bit the result register is never shifted and stops matching the scale factor compensation divides by. in_pressure_input returns -ERANGE at oversampling 16, 32 and 64. FIFO_EN needed by FIFO support later in this series. Fixes: ba6ec48e76bc ("iio: Add driver for Infineon DPS310") Fixes: d711a3c7dc82 ("iio: dps310: Add pressure sensing capability") Cc: stable@vger.kernel.org Assisted-by: LLM Signed-off-by: Rupesh Majhi Signed-off-by: Jonathan Cameron --- drivers/iio/pressure/dps310.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/pressure/dps310.c b/drivers/iio/pressure/dps310.c index 45bdb8c7670f0..35260b3993903 100644 --- a/drivers/iio/pressure/dps310.c +++ b/drivers/iio/pressure/dps310.c @@ -50,9 +50,9 @@ #define DPS310_CFG_REG 0x09 #define DPS310_INT_HL BIT(7) #define DPS310_TMP_SHIFT_EN BIT(3) -#define DPS310_PRS_SHIFT_EN BIT(4) -#define DPS310_FIFO_EN BIT(5) -#define DPS310_SPI_EN BIT(6) +#define DPS310_PRS_SHIFT_EN BIT(2) +#define DPS310_FIFO_EN BIT(1) +#define DPS310_SPI_EN BIT(0) #define DPS310_RESET 0x0c #define DPS310_RESET_MAGIC 0x09 #define DPS310_COEF_BASE 0x10 -- 2.53.0