]> git.baikalelectronics.ru Git - kernel.git/commit
PM: base: power: don't try to use non-existing RTC for storing data
authorJuergen Gross <jgross@suse.com>
Fri, 3 Sep 2021 08:49:36 +0000 (10:49 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 14 Sep 2021 07:56:20 +0000 (09:56 +0200)
commit0560204b360a332c321124dbc5cdfd3364533a74
tree172eabc3facf51eb98638b8833a34c48c3816845
parent8480ed9c2bbd56fc86524998e5f2e3e22f5038f6
PM: base: power: don't try to use non-existing RTC for storing data

If there is no legacy RTC device, don't try to use it for storing trace
data across suspend/resume.

Cc: <stable@vger.kernel.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20210903084937.19392-2-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/base/power/trace.c