On 05/12/15 23:45, Uwe Kleine-König wrote: > >> that hard to call clk_disable_unprepare() on a clock at the end of an >> error path? Maybe you could add a devm_clk_get_prepare_enable() that >> does what you want and then call clk_disable_unprepare on the exit path? > You mean clk_disable_unprepare is called in the same function that calls > clk_put I assume such that you don't have to do anything in the exit > path. >
Yes that's what I mean. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

