Skip to content
Snippets Groups Projects
Commit 23712c86 authored by huhai's avatar huhai Committed by Yongqiang Liu
Browse files

ACPI: LPSS: Fix missing check in register_device_clock()

stable inclusion
from stable-v4.19.256
commit 7566bc6556185f14a9b8c42940b7ebd6b2d4aad6
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5Q0SQ


CVE: NA

--------------------------------

[ Upstream commit b4f1f61ed5928b1128e60e38d0dffa16966f06dc ]

register_device_clock() misses a check for platform_device_register_simple().
Add a check to fix it.

Signed-off-by: default avatarhuhai <huhai@kylinos.cn>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 844ace54
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment