Skip to contentSkip to conversation

S3C AUDIO: Add header to pass platform data to device drivers

PATCH Superseded Jassi Brar 3 participants 3 messages Nov 11, 2009 – Nov 16, 2009

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jassi Brar

author
#0 lore raw

PATCH 5/7 S3C AUDIO: Add header to pass platform data to device drivers

---
 arch/arm/plat-s3c/include/plat/audio.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-s3c/include/plat/audio.h
arch/arm/plat-s3c/include/plat/audio.h new file +17 -0
new file mode 100644
index 0000000..f22d23b
@@ -0,0 +1,17 @@
+/* arch/arm/plat-s3c/include/plat/audio.h
+ *
+ * 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.
+ */
+
+/**
+ * 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 *);
+};
Signature · 1 line
1.6.2.5
#1 lore raw

On Wed, Nov 11, 2009 at 01:45:22PM +0900, Jassi Brar wrote:

Please put something here! Even if it just a slightly expanded version of the patch title.

Quoted 1 line

This could be merged to the alsa tree, we can move it once the other changes are made.

Quoted 31 lines
---
 arch/arm/plat-s3c/include/plat/audio.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-s3c/include/plat/audio.h
arch/arm/plat-s3c/include/plat/audio.h new file +17 -0
new file mode 100644
index 0000000..f22d23b
@@ -0,0 +1,17 @@
+/* arch/arm/plat-s3c/include/plat/audio.h
+ *
+ * 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.
+ */
+
+/**
+ * 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 *);
+};
Signature · 1 line
1.6.2.5
Signature · 5 lines
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.
#2 lore raw
Quoted 4 lines · Ben Dooks

On Wed, Nov 11, 2009 at 01:45:22PM +0900, Jassi Brar wrote:

Please put something here! Even if it just a slightly expanded version of the patch title.

will do. thanks

Quoted 41 lines
Quoted 1 line

This could be merged to the alsa tree, we can move it once the other changes are made.

Quoted 29 lines

---
 arch/arm/plat-s3c/include/plat/audio.h |   17 +++++++++++++++++

 1 files changed, 17 insertions(+), 0 deletions(-)

 create mode 100644 arch/arm/plat-s3c/include/plat/audio.h

arch/arm/plat-s3c/include/plat/audio.h new file +17 -1
new file mode 100644
index 0000000..f22d23b
@@ -0,0 +1,17 @@
+/* arch/arm/plat-s3c/include/plat/audio.h
+ *
+ * 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.
+ */
+
+/**
+ * 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 *);
+};
--
Quoted 2 lines

1.6.2.5

--
--
Ben

Quoted 8 lines

Q:      What's a light-year?
A:      One-third less calories than a regular year.

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel