Yang Yingliang 856e6e8e0f usb: dwc2: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210831084236.1359677-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-14 10:32:56 +02:00
..
2021-05-21 20:05:40 +02:00
2021-08-09 08:52:46 +02:00
2021-09-01 09:59:34 -07:00
2021-09-01 09:59:34 -07:00
2020-09-16 12:42:10 +02:00
2021-08-26 13:41:52 +02:00
2021-08-16 18:57:19 +02:00
2021-09-01 20:11:41 +02:00
2021-09-02 15:09:46 -07:00