Fixes for s3c RTC driver
cover Fixes for s3c RTC driver
The first patch fixes a segfault when dereferencing a garbage pointer while the second one ensures that the correct max_user_freq gets set.
These should probably go in mainline as soon as possible.
Maurus Cuelenaere (2):
RTC: s3c: Initialize driver data before using it
RTC: s3c: Initialize s3c_rtc_cpu_type before using it
drivers/rtc/rtc-s3c.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)