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=1796423196; b=cp16EVaBkRiPrtdxB/v2FRX2h3H1XglC9RhOd4lqBJDHtoIDKXtQAuj2LXWbaSWiQQjz VD35xFRMmgWcFc3q1ett3ECZF75vbDv+mdhMtPXHZ4ZxfH7MRVJ0TFl4QK+ZM3ID0NqQF yPGRf6W0jmJz9MCOKrD0FqWPyv1Gxann82PauPRO+m7KeajzNf6aiIA2owM+ll8SVb847 B6aw34zwcYzRLzMUUNgjXP6kjqNKRRcqJaDY8M9TdY5cKX6VxmP9WBbH9acRpYXYQ7pry ZeaPk9C66MfUSYNEM1TqkAVITyf8hrg678gIv1FqHAax0wEDMznNYeoV/6U+uUnsXkQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796423196; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=W1Ir95vF+0oxOQKGBKx9lq5kiNrZe9SpiEPsU4+ndwU=; b=F11/vdEr3wDESW2qTSt7WEtT/tplQi+1oWODGTg5MQRqrKHrHefi28v2WUGLL/aHTwEr QYDEfKSBwKXNEproxZtHTmqjyQIYmFz0voWerwbOvRExKW5kM4hw2TAJuIW1T7TxaesEJ e6z8AWbDZ1JqdfMfqjpphiA0//eIc57TiqW+xuqdeeQ+Fl6Q07le89+QYT4aZeBlhNkK+ Rfn8kDjyUmdtcAXHFpS10mW6iPbVmNBMeUC95iA6DEHheW0YVs9skNhQ83bqMGVtTL//B VnOoqcpIryQGVQSgbhoNu2rtirRS6jVZB9tacIMSlXPVQsp/GtW4bA0p3t8EeoFVlHQ== 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=ofYFttni; 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 E331D606A32C; Fri, 4 Dec 2026 22:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ofYFttni Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AB4C1F00A06; Fri, 4 Dec 2026 22:26:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796423195; bh=W1Ir95vF+0oxOQKGBKx9lq5kiNrZe9SpiEPsU4+ndwU=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ofYFttniDeNq2ZrAL+omUzw8QwNDSrcjr/KZZKC4giNBVbgNJ4ljH2a2ga0oTtob6 dgmUz4J1+xCjv6dqnVXf/SmETPEPkiSXq4CgkgtMb/F4awxReTosFFMBHi7Ac9oD2c uNFyPrRIjPQxx+FR6mpw46c+qaHR6ZZeFYlyWoe317vxg7f0zvcIJdkw0rvyK5xeMO nv2L2u+61/cJuyITHpWH26VdovTjVIpqUuJjSzBYfpQNK2tn9jUq1hFvX5txFK4wV2 9nQ1eJ7wy0yfowpCrAB2SGgU20Nk347IwsIubZTjnCFp9C6IB8MERqomRb53YGkh+d KQrghVfcQ7eNg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 2/5] Input: s6sy761 - Add optional reset GPIO support Reply-To: sashiko-reviews@lists.linux.dev To: "Marco Mattiolo" Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com In-Reply-To: <20261204-crosshatch_touchscreen-v1-2-9f76ff10eab1@runbox.com> References: <20261204-crosshatch_touchscreen-v1-0-9f76ff10eab1@runbox.com> <20261204-crosshatch_touchscreen-v1-2-9f76ff10eab1@runbox.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 22:26:35 +0000 X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] input: s6sy761_power_on() omits reset re-assertion on error path -- commit 1fec0c9d8f9e59834ae02a3e0d9d0500c3097ede Author: Marco Mattiolo Input: s6sy761 - Add optional reset GPIO support This commit adds optional reset GPIO handling to the s6sy761 touchscreen driver, requesting the GPIO asserted during probe, releasing it after enabling regulators in s6sy761_power_on(), and re-asserting it before disabling regulators in s6sy761_power_off(). > diff --git a/drivers/input/touchscreen/s6sy761.c b/drivers/input/touchscr= een/s6sy761.c > index c6cc5cba577a1..5972a3194a7dc 100644 > --- a/drivers/input/touchscreen/s6sy761.c > +++ b/drivers/input/touchscreen/s6sy761.c [ ... ] > @@ -301,6 +303,8 @@ static int s6sy761_power_on(struct s6sy761_data *sdat= a) > if (ret) > return ret; > =20 > + /* release the optional reset line, then wait for the boot */ > + gpiod_set_value_cansleep(sdata->reset_gpio, 0); > msleep(140); > =20 > /* double check whether the touch is functional */ [Severity: Medium] Should the err_disable_regulators path in s6sy761_power_on() re-assert sdata->reset_gpio before calling regulator_bulk_disable()? If a subsequent I2C or boot-status check fails, disabling the supplies with sdata->reset_gpio still deasserted risks back-powering the controller. Because sdata->powered_up stays false, s6sy761_power_off() returns early on probe unwind or suspend and never re-asserts it either. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-crosshatch= _touchscreen-v1-0-9f76ff10eab1@runbox.com?part=3D2