Re: [PATCH v4 2/9] clkdev: Move clk creation outside of 'clocks_mutex'

2019-04-19 Thread Stephen Boyd
Quoting Stephen Boyd (2019-04-12 11:31:43) > We don't need to hold the 'clocks_mutex' here when we're creating a clk > pointer from a clk_lookup structure. Instead, we just need to make sure > that the lookup doesn't go away while we dereference the lookup pointer > to extract the clk_hw pointer ou

[PATCH v4 2/9] clkdev: Move clk creation outside of 'clocks_mutex'

2019-04-12 Thread Stephen Boyd
We don't need to hold the 'clocks_mutex' here when we're creating a clk pointer from a clk_lookup structure. Instead, we just need to make sure that the lookup doesn't go away while we dereference the lookup pointer to extract the clk_hw pointer out of it. Let's move things around slightly so that