aboutsummaryrefslogtreecommitdiff
path: root/samples/v4l
diff options
context:
space:
mode:
authorAlexandre Belloni2020-10-09 17:30:58 +0200
committerAlexandre Belloni2020-10-15 12:09:34 +0200
commit00e8e87f10155b06ae2bc9f93c4d006681640e65 (patch)
treee17d027855fcc92e2e28dfa15700b77410086830 /samples/v4l
parent770c03e6dabacd5b9f57bba93c4311d32b618640 (diff)
rtc: rv3028: fix clock output support
rv3028_clkout_set_rate unconditionally sets RV3028_CLKOUT_CLKOE but clk_set_rate may be called with the clock disabled. Ensure the clock is kept disabled if it was not yet enabled. Also, the actual rate was overwritten when enabling the clock, properly write to the register only once. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20201009153101.721149-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions