]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1343: use regmap_update_bits for glitch filter
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 19 Oct 2019 20:49:37 +0000 (22:49 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 19 Oct 2019 20:56:03 +0000 (22:56 +0200)
commitb98d8a8be3aef6ee7460928b62f977d2ce3ffc0a
tree92e339691ac81525de465afbc819fc1d051ec4d1
parente67a052d597fe357847176c49bf3230252c6362a
rtc: ds1343: use regmap_update_bits for glitch filter

Use regmap_update_bits to update DS1343_CONTROL_REG in a race free manner
when setting the glitch filter.

Link: https://lore.kernel.org/r/20191019204941.6203-5-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1343.c