usb: cdns: fix compile error and duplicate register pm notify 84/301884/2
authorMinda Chen <minda.chen@starfivetech.com>
Mon, 12 Jun 2023 01:41:32 +0000 (09:41 +0800)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 27 Nov 2023 06:16:34 +0000 (15:16 +0900)
commitd6eafee192960621ee44c480ece6e620207f3f25
tree71cd2cc3c58640b6d9f50b483e053db3225e85f8
parentd5a3fbda7243a6e179a753fe9e9a941f904a28fc
usb: cdns: fix compile error and duplicate register pm notify

Find kernel 6.1 USB cdns3 two host controller (usb_hcd) call
plat_start function. It will cause register notification twice.
Fix this issue.

Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
[hoegeun.kwon: cherry-pick the commit b7aab6bc6c57 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: Ia080aa84284fb6da4acd9357063272b50123b128
drivers/usb/cdns3/host.c