snd_soc_codec_set_sysclk(9)

snd_soc_codec_set_sysclk9

Configure codec system or master clock.

Usage

int snd_soc_codec_set_sysclk(struct snd_soc_codec * codec, int clk_id, int source, unsigned int freq, int dir);

Arguments

codec

CODEC

clk_id

DAI specific clock ID

source

Source for the clock

freq

new clock frequency in Hz

dir

new clock direction - input/output.

Overview

Configures the CODEC master (MCLK) or system (SYSCLK) clocking.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.