mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xia Yan <yanxia@cmss.chinamobile.com>
To: Manivannan Sadhasivam <mani@kernel.org>
Cc: vkoul@kernel.org, linux-phy@lists.infradead.org,
	neil.armstrong@linaro.org, heiko@sntech.de,
	p.zabel@pengutronix.de, ayaka@soulik.info, kishon@kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
	yana06070@163.com
Subject: Re: [PATCH] phy: rockchip-usb: fix reset control leak
Date: Tue, 01 Dec 2026 16:35:43 +0800	[thread overview]
Message-ID: <20261201083543.50160d227cb63d84.reply@cmss.chinamobile.com> (raw)
In-Reply-To: <179578788741.13164.8538367481844332594.b4-reply@b4>

Hi Mani,

> Stop CCing stable list for these minor fixes, please.

Understood. I have dropped the stable Cc in v2.

> Why not devm_reset_control_get()?

You're right. devm_phy_create(base->dev, child, &ops) associates the
PHY device with the child node. v2 moves the reset lookup after that
call and uses devm_reset_control_get(&rk_phy->phy->dev, "phy-reset"),
keeping the lookup on the same child node.

This also removes the custom put action from v1. Lookup errors are
still converted to NULL, as before.

v2: https://patchwork.kernel.org/project/linux-phy/patch/20261201082805.50160d227cb63d84.patch@cmss.chinamobile.com/

Thanks,
Xia Yan



      reply	other threads:[~2026-12-01  8:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-15  4:26 Xia Yan
2026-11-27 13:58 ` Manivannan Sadhasivam
2026-12-01  8:35   ` Xia Yan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201083543.50160d227cb63d84.reply@cmss.chinamobile.com \
    --to=yanxia@cmss.chinamobile.com \
    --cc=ayaka@soulik.info \
    --cc=heiko@sntech.de \
    --cc=kishon@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mani@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=p.zabel@pengutronix.de \
    --cc=vkoul@kernel.org \
    --cc=yana06070@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®