forked from beagleboard/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/tiwai/sound-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (294 commits) S3C64XX: Staticise platform data for PCM devices ASoC: Rename controls with a / in wm_hubs snd-fm801: autodetect SF64-PCR (tuner-only) card ALSA: tea575x-tuner: fix mute ASoC: au1x: dbdma2: plug memleak in pcm device creation error path ASoC: au1x: dbdma2: fix oops on soc device removal. ALSA: hda - Fix memory leaks in the previous patch ALSA: hda - Add ALC661/259, ALC892/888VD support ALSA: opti9xx: remove snd_opti9xx fields ALSA: aaci - Clean up duplicate code ALSA: usb - Fix mixer map for Hercules Gamesurround Muse Pocket LT ALSA: hda - Add position_fix quirk for HP dv3 ALSA: hda - Add a pin-fix for FSC Amilo Pi1505 ALSA: hda - Fix Cxt5047 test mode ASoC: pxa/raumfeld: adopt new snd_soc_dai_set_pll() API ASoC: sh: fsi: Add runtime PM support sh: ms7724se: Add runtime PM support for FSI ALSA: hda - Add a position_fix quirk for MSI Wind U115 ALSA: opti-miro: add PnP detection ALSA: opti-miro: separate comon probing code ...
- Loading branch information
Showing
285 changed files
with
21,283 additions
and
7,712 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,17 @@ | ||
/* arch/arm/mach-s3c2410/include/mach/audio.h | ||
/* arch/arm/plat-s3c/include/plat/audio.h | ||
* | ||
* Copyright (c) 2004-2005 Simtec Electronics | ||
* http://www.simtec.co.uk/products/SWLINUX/ | ||
* Ben Dooks <[email protected]> | ||
* | ||
* S3C24XX - Audio platfrom_device info | ||
* Copyright (c) 2009 Samsung Electronics Co. Ltd | ||
* Author: Jaswinder Singh <[email protected]> | ||
* | ||
* 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 __ASM_ARCH_AUDIO_H | ||
#define __ASM_ARCH_AUDIO_H __FILE__ | ||
|
||
/* struct s3c24xx_iis_ops | ||
* | ||
* called from the s3c24xx audio core to deal with the architecture | ||
* or the codec's setup and control. | ||
* | ||
* the pointer to itself is passed through in case the caller wants to | ||
* embed this in an larger structure for easy reference to it's context. | ||
*/ | ||
*/ | ||
|
||
struct s3c24xx_iis_ops { | ||
struct module *owner; | ||
|
||
int (*startup)(struct s3c24xx_iis_ops *me); | ||
void (*shutdown)(struct s3c24xx_iis_ops *me); | ||
int (*suspend)(struct s3c24xx_iis_ops *me); | ||
int (*resume)(struct s3c24xx_iis_ops *me); | ||
|
||
int (*open)(struct s3c24xx_iis_ops *me, struct snd_pcm_substream *strm); | ||
int (*close)(struct s3c24xx_iis_ops *me, struct snd_pcm_substream *strm); | ||
int (*prepare)(struct s3c24xx_iis_ops *me, struct snd_pcm_substream *strm, struct snd_pcm_runtime *rt); | ||
/** | ||
* struct s3c_audio_pdata - common platform data for audio device drivers | ||
* @cfg_gpio: Callback function to setup mux'ed pins in I2S/PCM/AC97 mode | ||
*/ | ||
struct s3c_audio_pdata { | ||
int (*cfg_gpio)(struct platform_device *); | ||
}; | ||
|
||
struct s3c24xx_platdata_iis { | ||
const char *codec_clk; | ||
struct s3c24xx_iis_ops *ops; | ||
int (*match_dev)(struct device *dev); | ||
}; | ||
|
||
#endif /* __ASM_ARCH_AUDIO_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.