From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f182.google.com (mail-dy1-f182.google.com [74.125.82.182]) (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 B9AFB48F848 for ; Thu, 8 Oct 2026 09:47:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791452868; cv=none; b=cnfQ1DwmssDSlVz0jHHnX7jdiBruB775y5S4SA2+G/JqYSulehU9E56cs4Y1/5yWEbSiM20Qt4ZlkKNxbdWUgvWUYjZGsZEq3wK2/kF5JonS7FxfZKV1gaM2lo9B3ED5USefcIN0pGriqvkOTGzz4FG4eR6vQaiX6TCLkuYycSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791452868; c=relaxed/simple; bh=VhuQUAy0iYkePnS9UnYMTw7EAA57ina5Fp9L6S42UwQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=smEOhg/koOt3S4/giDUKZsO0+Vlw705wa3YL1BZ8Y3xROYmsvMdktB2NR5MhLd5LYFseiIp5S5ewmLQru+cWAnXgfCI1ECcbLaxlYcvP1OsK86LJhAML/+PP+lGrXS4lkKNRYB89hK+YFXO7xkEzNpkj0xUdYS4ZvXda4pChaqs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=tDRKXZfa; arc=none smtp.client-ip=74.125.82.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="tDRKXZfa" Received: by mail-dy1-f182.google.com with SMTP id 5a478bee46e88-33e6279a1d7so1794948eec.1 for ; Thu, 08 Oct 2026 02:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791452867; x=1792057667; 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:content-type; bh=LM3g9cT1oIurdiGa40P9tLY9uI4+IIZ6GuNMPxEMRss=; b=tDRKXZfau/iq6J5xxgtznCTSHjJcFyBfpTo+LA4RrbXjSM4TP89N3uS0XnjWHKS49N 8nIqQtWYl5A4ixElqm3M4aU1XpQ279AWiu0AroJk0oX+4w1iB9pidMNDXyn9mIci8QIV +IEsDJx7jzv4pdyk47+6Qfo8d8gUTnWDLUguqCf6I7bKshNRwUJhgUL9ab2T790qX2Qe 90CZk/CVd1nKzXtivtCwJQjxHRLqNpUp/YD2Uw7HiL5mWFkY+nm+zwagKRxAEhdgLg9g UVE4IAfkS5wrztpBIz5w9CA9Jt+tQwHILZ0VsYzOhiz42GfRNq1+iwfi2vzdvIlz9uSa d3Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791452867; x=1792057667; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=LM3g9cT1oIurdiGa40P9tLY9uI4+IIZ6GuNMPxEMRss=; b=1oRinjUcMGEZLboOCt8JZY4L5g1xbRVhTkCZrTm5BPkKoe0Tm3KxI9Od+KwFxyXBOQ TvVUInuc9UKpwyh3Z/kLy+jKcpf4LFla94dUPmh/cDz0nwKwgNn3ZOGIf72Pnl3EtsvX eHLzn5PDDTIWpSAJ3TKFGaocGexQsxWxA/3reaJRpH6R1xyB4tl0kdLmay5BOicTCwFM uvQ7ky2djhF4k2X0rSwOj/EHlmpgKlyGf+f1ae87BTtKRV9kLd1cK2iq4yyF/cpb6BRk 65kUr9HhXDsejhoxR5qgoemeozMfOQBhi4iDjekwXsE0c3A8WofH2x+n94m7q1yyZocx fD+A== X-Gm-Message-State: AFuF++lt75jYyk4NJYUC2LC1HK3Y0a9Vt+MTN1+vXZto+m+g0jNpwpzC Tw7FAz+29gLsZsbo5SKknGIqPj8IOaEB+vJWRt3u7GB267LSgutRSI7T7IuMRTWJrzhuig== X-Gm-Gg: AYBFou1hIu2fLHiQ0K9UzcnIvMO1QWqrstaccIXmTkh4nn76RiJSTZeOk8E2BQ3HVff TxKRmVKkV9Uo/MC6LLSJVJDoUq7zDByzs+Ph4cLhA8D0PgR3Cvl8dDGub/cM3boQ2Ee+2O0MjGk SGYP7pGQ+kcr8/8XZ18MTMqG06H2DpnAjSCUjWeukHta2tk2BLqB6DUz93ISuK0/Wp9OvNFyFPr 6mwh5aSlhyz6KYSCrfuTG/E3qfmYrRzuoqhov68rJqEgbH3wx4LvYCcC6jNo+Txh93Tk/xG5doz 1KpXiyv/434PkiJxyYXi/9CI/YstV0nS463CZ4JxC/YyehX/cNq6FpvVWHrf3ynaCjyi8QDEK7M K2Mm4MIyzgnaw21rxp/hNR6AfldssPEOH+0jfU299/GFbJKDIe0OdRcH2s0/Fl3NS3dAXKgFHxI juvgUn4MBGkbqFiL1LluXz0v4+gLE8Vi6IPQEuSK5LQqLsxaH+6XBvNKbYBfLnAhBAL56UqTQlc 2CM32zM2+lJJLpQnuTC8r6jiQKVS374rhV8qEAI3LlPwB2WlFZLrrmkPxriaZg= X-Received: by 2002:a05:7300:3a9d:b0:34c:aa3e:316b with SMTP id 5a478bee46e88-3515de80febmr5607238eec.11.1791452866714; Thu, 08 Oct 2026 02:47:46 -0700 (PDT) Received: from dtor-ws.sjc.corp.google.com ([2a00:79e0:2ebe:8:3002:e11e:c053:ebcb]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3515aeb5c00sm14994424eec.8.2026.10.08.02.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2026 02:47:45 -0700 (PDT) From: Dmitry Torokhov To: linux-input@vger.kernel.org Cc: Support Opensource , Roy Im , Dan Murphy , Yegor Yefremov , linux-kernel@vger.kernel.org Subject: [PATCH 4/4] Input: tps6507x-ts - fix input device parent assignment Date: Thu, 8 Oct 2026 02:47:34 -0700 Message-ID: <20261008094736.918137-4-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.56.0.385.gd3acb90ef8-goog In-Reply-To: <20261008094736.918137-1-dmitry.torokhov@gmail.com> References: <20261008094736.918137-1-dmitry.torokhov@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Assigning the MFD parent device (tsc->dev) instead of the platform device (&pdev->dev) as the parent device after devm_input_allocate_device(&pdev->dev) splits devres management across two devices. As a result, input_register_device() attaches the devm unregistration action to the MFD parent device rather than the platform device, leaving the input device registered when the platform driver unbinds. devm_input_allocate_device(&pdev->dev) already sets input_dev->dev.parent to &pdev->dev. Drop the redundant and erroneous assignment. Fixes: 2e2a0db8c88d ("Input: tps6507x-ts - update to devm_* API") Assisted-by: LLM Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/tps6507x-ts.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/drivers/input/touchscreen/tps6507x-ts.c index f48871767763..e84dc3ea1fcb 100644 --- a/drivers/input/touchscreen/tps6507x-ts.c +++ b/drivers/input/touchscreen/tps6507x-ts.c @@ -251,7 +251,6 @@ static int tps6507x_ts_probe(struct platform_device *pdev) input_dev->name = "TPS6507x Touchscreen"; input_dev->phys = tsc->phys; - input_dev->dev.parent = tsc->dev; input_dev->id.bustype = BUS_I2C; if (init_data) { input_dev->id.vendor = init_data->vendor; -- 2.56.0.385.gd3acb90ef8-goog