Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit25b9e4b

Browse files
committed
Merge tag 'phy-fixes-2-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy into usb-linus
Vinod writes:phy: Second round of fixes for 5.9*) Fix of leak in TI phy driver* tag 'phy-fixes-2-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: phy: ti: am654: Fix a leak in serdes_am654_probe()
2 parents3fce396 +8502801 commit25b9e4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎drivers/phy/ti/phy-am654-serdes.c‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,10 @@ static int serdes_am654_probe(struct platform_device *pdev)
725725
pm_runtime_enable(dev);
726726

727727
phy=devm_phy_create(dev,NULL,&ops);
728-
if (IS_ERR(phy))
729-
returnPTR_ERR(phy);
728+
if (IS_ERR(phy)) {
729+
ret=PTR_ERR(phy);
730+
gotoclk_err;
731+
}
730732

731733
phy_set_drvdata(phy,am654_phy);
732734
phy_provider=devm_of_phy_provider_register(dev,serdes_am654_xlate);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp