mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
rtc: rx8025: unsupport UIE mode
The alarm for rx8025 only has a minute accuracy, so unsupport UIE mode. pcf8563 and hym8563 also have a minute accuracy and unsupport it. Signed-off-by: Akinobu Mita <[email protected]> Cc: Wolfgang Grandegger <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Alexandre Belloni <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
302c5608e9
commit
ef5f4a9e80
1 changed files with 3 additions and 0 deletions
|
|
@ -563,6 +563,9 @@ static int rx8025_probe(struct i2c_client *client,
|
|||
|
||||
rx8025->rtc->max_user_freq = 1;
|
||||
|
||||
/* the rx8025 alarm only supports a minute accuracy */
|
||||
rx8025->rtc->uie_unsupported = 1;
|
||||
|
||||
err = rx8025_sysfs_register(&client->dev);
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue