Re: [PATCH v5 07/10] phy: rockchip: samsung-hdptx: Consolidate consumer_put on error path

Manivannan Sadhasivam <[email protected]> Fri, 7 Aug 2026 15:07:18 +0200
Newsgroups org.infradead.lists.linux-rockchip,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-phy,org.kernel.vger.linux-kernel
Message-ID <7pshndmrl3yy6oulomog26vjfppcuh6bxbn5fy7rys3w34pizo@psbah2rng6tz>
On Thu, Jul 23, 2026 at 10:41:50PM +0300, Cristian Ciocaltea wrote:
> rk_hdptx_phy_consumer_put() is invoked in both branches of the mode
> check conditional in rk_hdptx_phy_power_on() on the error path.
> 
> Simplify the code by moving the single call to the end of the
> function.
> 
> No functional change intended.
> 
> Signed-off-by: Cristian Ciocaltea <[email protected]>

Reviewed-by: Manivannan Sadhasivam <[email protected]>

- Mani

-- 
மணிவண்ணன் சதாசிவம்

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip