treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / codecs / wm8580.h
blob34f7fee6b94693e458ea6e4262c333a1173671c0
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * wm8580.h -- audio driver for WM8580
5 * Copyright 2008 Samsung Electronics.
6 * Author: Ryu Euiyoul
7 * ryu.real@gmail.com
8 */
10 #ifndef _WM8580_H
11 #define _WM8580_H
13 #define WM8580_PLLA 1
14 #define WM8580_PLLB 2
16 #define WM8580_MCLK 1
17 #define WM8580_CLKOUTSRC 2
19 #define WM8580_CLKSRC_MCLK 1
20 #define WM8580_CLKSRC_PLLA 2
21 #define WM8580_CLKSRC_PLLB 3
22 #define WM8580_CLKSRC_OSC 4
23 #define WM8580_CLKSRC_NONE 5
24 #define WM8580_CLKSRC_ADCMCLK 6
26 #define WM8580_DAI_PAIFRX 0
27 #define WM8580_DAI_PAIFTX 1
29 #endif