clk_disable
Prev | Chapter 17. Clock Framework | Next

## Name

clk_disable — inform the system when the clock source is no longer required.

## Synopsis

`void clk_disable (` | struct clk * clk`)`;

## Arguments

`clk`

  clock source

## Description

Inform the system that a clock source is no longer required by a driver and may be shut down.

May be called from atomic contexts.

## Implementation detail

if the clock source is shared between multiple drivers, `clk_enable` calls must be balanced by the same number of `clk_disable` calls for the clock source to be disabled.

Prev | Up | Next
clk_enable | Home | clk_get_rate