Skip to content

Commit 2e4333c

Browse files
committed
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS fixes from Ralf Baechle: "Two more MIPS fixes for 4.9: - RTC: Return -ENODEV so an external RTC will be tried - Fix mask of GPE frequency These two have been tested on Imagination's automated test system and also both received positive reviews on the linux-mips mailing list" * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: MIPS: Lantiq: Fix mask of GPE frequency MIPS: Return -ENODEV from weak implementation of rtc_mips_set_time
2 parents 0451698 + ba73515 commit 2e4333c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/mips/kernel/time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ EXPORT_SYMBOL(rtc_lock);
3636

3737
int __weak rtc_mips_set_time(unsigned long sec)
3838
{
39-
return 0;
39+
return -ENODEV;
4040
}
4141

4242
int __weak rtc_mips_set_mmss(unsigned long nowtime)

arch/mips/lantiq/falcon/sysctrl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
/* GPE frequency selection */
2626
#define GPPC_OFFSET 24
27-
#define GPEFREQ_MASK 0x00000C0
27+
#define GPEFREQ_MASK 0x0000C00
2828
#define GPEFREQ_OFFSET 10
2929
/* Clock status register */
3030
#define SYSCTL_CLKS 0x0000

0 commit comments

Comments
 (0)