]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:39 +0000 (12:26 +0200)
commit11e18b4ed7b53e28fd8908caca99f1423bbc8706
treeb2740d9b53c19f7e51ea4abd1b29c7126300a137
parent58c37a8ee76b1f6caf985add360d13a95e704265
PM: base: power: don't try to use non-existing RTC for storing data

commit 0560204b360a332c321124dbc5cdfd3364533a74 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/power/trace.c