Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1251653

Re: [PATCH RFC RFT 2/3] clk: clk_put WARNs if user has not disabled clk

From Russell King - ARM Linux <linux@arm.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH RFC RFT 2/3] clk: clk_put WARNs if user has not disabled clk
Date 2015-10-20 15:00 +0200
Message-ID <qlEGf-4bA-31@gated-at.bofh.it> (permalink)
References <pUVln-hs-3@gated-at.bofh.it> <pUVln-hs-9@gated-at.bofh.it> <qerE7-Hh-37@gated-at.bofh.it> <qlEGf-4bA-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Oct 20, 2015 at 05:40:00AM -0700, Michael Turquette wrote:
> Why not keep the reference to the struct clk after get'ing it the first
> time?

Yes, that's exactly what you're supposed to do in this case.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH RFC RFT 2/3] clk: clk_put WARNs if user has not disabled  clk Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-10-20 15:00 +0200

csiph-web