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 b4f1f61e ]

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment