aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorHuacai Chen <[email protected]>2020-06-20 20:04:43 +0800
committerAlexandre Belloni <[email protected]>2020-07-16 11:15:43 +0200
commit22f8d5a1bf230cf8567a4121fc3789babb46336d (patch)
tree72cb58f4a9bf02254a9b6aeedc3ad4f301598fc9 /lib/memory-notifier-error-inject.c
parentd8f090dbeafdcc3d30761aa0062f19d1adf9ef08 (diff)
rtc: goldfish: Enable interrupt in set_alarm() when necessary
When use goldfish rtc, the "hwclock" command fails with "select() to /dev/rtc to wait for clock tick timed out". This is because "hwclock" need the set_alarm() hook to enable interrupt when alrm->enabled is true. This operation is missing in goldfish rtc (but other rtc drivers, such as cmos rtc, enable interrupt here), so add it. Signed-off-by: Huacai Chen <[email protected]> Signed-off-by: Jiaxun Yang <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions