summaryrefslogtreecommitdiff
path: root/sound/soc/ux500/ux500_ab5500.h
blob: 8a9be4b98d02e76aa290ed017aedef626d30ced7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (C) ST-Ericsson SA 2011
 *
 * Author: Xie Xiaolei (xie.xiaolei@stericsson.com)
 *         for ST-Ericsson.
 *
 * License terms:
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as published
 * by the Free Software Foundation.
 */

#ifndef UX500_AB5500_H
#define UX500_AB5500_H

struct snd_soc_pcm_runtime;

int ux500_ab5500_startup(struct snd_pcm_substream *substream);

void ux500_ab5500_shutdown(struct snd_pcm_substream *substream);

int ux500_ab5500_hw_params(struct snd_pcm_substream *substream,
			struct snd_pcm_hw_params *params);

int ux500_ab5500_machine_codec_init(struct snd_soc_pcm_runtime *runtime);

#endif