| commit | e5236e58cc6562a7cd8db1ccc15c0bc1dec84d6f | [log] [tgz] |
|---|---|---|
| author | Su Hui <[email protected]> | Wed Nov 01 11:16:36 2023 +0800 |
| committer | Greg Kroah-Hartman <[email protected]> | Thu Jan 25 14:37:49 2024 -0800 |
| tree | d5a367fd2b442e4c40db04ef27a0c794c04f6aa1 | |
| parent | 428381fbcb1f96dc823d6f8b2c52bf650b4c8e57 [diff] |
clk: si5341: fix an error code problem in si5341_output_clk_set_rate
[ Upstream commit 5607068ae5ab02c3ac9cabc6859d36e98004c341 ]
regmap_bulk_write() return zero or negative error code, return the value
of regmap_bulk_write() rather than '0'.
Fixes: 3044a860fd09 ("clk: Add Si5341/Si5340 driver")
Acked-by: Mike Looijmans <[email protected]>
Signed-off-by: Su Hui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>