Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1319092
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RFC 05/11] clk: sunxi: unmap registers in sunxi_factors_clk_setup if register call fails |
| Date | 2016-01-27 17:00 +0100 |
| Message-ID | <qVAFI-5LQ-11@gated-at.bofh.it> (permalink) |
| References | <qUPdL-4ol-3@gated-at.bofh.it> <qUPdL-4ol-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, Jan 25, 2016 at 09:15:41PM +0800, Chen-Yu Tsai wrote: > sunxi_factors_clk_setup() does not unmap registers when > sunxi_factors_register() fails. > > This patch adds proper error handling, and also an error message > when sunxi_factors_register() fails. Also use the full DT node name > in error messages, as the node name is often just "clk", which is > useless. > > Signed-off-by: Chen-Yu Tsai <wens@csie.org> APplied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH RFC 05/11] clk: sunxi: unmap registers in sunxi_factors_clk_setup if register call fails Chen-Yu Tsai <wens@csie.org> - 2016-01-25 14:20 +0100 Re: [PATCH RFC 05/11] clk: sunxi: unmap registers in sunxi_factors_clk_setup if register call fails Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-01-27 17:00 +0100
csiph-web