summaryrefslogtreecommitdiffstats
path: root/tools/net/bpf_dbg.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-03 09:55:47 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-14 17:08:30 +0100
commitede44c908d44b166a5b6bd7caacd105c2ff5a70f (patch)
treec3917e54ee7928b6bda3d84578f1a9cfb3c68a86 /tools/net/bpf_dbg.c
parent2da424af4531c4469408136772d6d5e0f8df748b (diff)
downloadlinux-ede44c908d44b166a5b6bd7caacd105c2ff5a70f.tar.gz
linux-ede44c908d44b166a5b6bd7caacd105c2ff5a70f.tar.bz2
linux-ede44c908d44b166a5b6bd7caacd105c2ff5a70f.zip
rtc: pcf8523: properly handle oscillator stop bit
The time and date register of the pcf8223 are undefined after a power reset. Properly handle the OS bit and return -EINVAL when that bit is set. It is properly removed when setting the time. This solves an issue where the time and date may be valid for rtc_valid_tm() but is not the current time. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/net/bpf_dbg.c')
0 files changed, 0 insertions, 0 deletions