Skip to contentSkip to conversation

Fixes for s3c RTC driver

PATCH New Maurus Cuelenaere 1 participant 1 message May 27, 2010 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

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(-)