Skip to contentSkip to conversation

ASoC updates for 2.6.32

DISCUSSION Mark Brown 3 participants 7 messages Aug 23, 2009 – Aug 30, 2009 Wolfson microelectronics drivers

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

The following changes since commit a0a499c5792b8656cd51e11d5e0db9fb21640f58:
Eduardo Valentin (1):
ASoC: OMAP: Use DMA operating mode of McBSP

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git for-2.6.32

Ben Dooks (4):
ASoC: S3C24XX: Add audio core and tlv320aic23 for Simtec boards
ASoC: tlv320aic3x: Change to use device model
ASoC: tlv320aic3x: fixup board device changes
ASoC: S3C24XX: Support for Simtec Hermes boards

Kuninori Morimoto (2):
ASoC: Add ak4642/ak4643 codec support
ASoC: Add FSI-AK4642 sound support for SuperH

Marek Vasut (5):
power_supply: Make wm97xx-core pass platform_data to battery, ts
power_supply: Convert WM97xx battery to use platform_data
power_supply: Let wm97xx-battery use irq to detect charger state [ARM] pxa: Convert all platforms to pass platform_data to wm97xx battery
ASoC: Pass correct platform data from pxa2xx-ac97

Mark Brown (1):
ASoC: Add DAPM widget power decision debugfs files

Roel Kluin (1):
ASoC: free socdev if init_card() fails in wm9705_soc_probe()

 arch/arm/mach-pxa/mioa701.c                    |   10 +-
 arch/arm/mach-pxa/palmld.c                     |   19 +-
 arch/arm/mach-pxa/palmt5.c                     |   19 +-
 arch/arm/mach-pxa/palmte2.c                    |   20 +-
 arch/arm/mach-pxa/palmtx.c                     |   19 +-
 arch/arm/mach-pxa/palmz72.c                    |   20 +-
 arch/arm/mach-pxa/treo680.c                    |    1 -
 arch/arm/plat-s3c/include/plat/audio-simtec.h  |   37 ++
 drivers/input/touchscreen/wm97xx-core.c        |    3 +
 drivers/power/wm97xx_battery.c                 |   56 ++-
 include/linux/wm97xx.h                         |   18 +
 include/linux/wm97xx_batt.h                    |   26 --
 include/sound/soc-dapm.h                       |    1 +
 include/sound/soc.h                            |    1 +
 sound/arm/pxa2xx-ac97.c                        |    4 +-
 sound/soc/codecs/Kconfig                       |    4 +
 sound/soc/codecs/Makefile                      |    2 +
 sound/soc/codecs/ak4642.c                      |  502 ++++++++++++++++++++++++
 sound/soc/codecs/ak4642.h                      |   20 +
 sound/soc/codecs/tlv320aic3x.c                 |  221 ++++++-----
 sound/soc/codecs/tlv320aic3x.h                 |    2 -
 sound/soc/codecs/wm9705.c                      |    2 +-
 sound/soc/davinci/davinci-evm.c                |   12 +-
 sound/soc/omap/n810.c                          |   12 +-
 sound/soc/pxa/pxa2xx-ac97.c                    |    4 +-
 sound/soc/s3c24xx/Kconfig                      |   19 +
 sound/soc/s3c24xx/Makefile                     |    7 +
 sound/soc/s3c24xx/s3c24xx_simtec.c             |  394 +++++++++++++++++++
 sound/soc/s3c24xx/s3c24xx_simtec.h             |   22 +
 sound/soc/s3c24xx/s3c24xx_simtec_hermes.c      |  153 +++++++
 sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c |  137 +++++++
 sound/soc/s6000/s6105-ipcam.c                  |   12 +-
 sound/soc/sh/Kconfig                           |    8 +
 sound/soc/sh/Makefile                          |    2 +
 sound/soc/sh/fsi-ak4642.c                      |  107 +++++
 sound/soc/soc-core.c                           |    8 +
 sound/soc/soc-dapm.c                           |   86 ++++
 37 files changed, 1784 insertions(+), 206 deletions(-)
 create mode 100644 arch/arm/plat-s3c/include/plat/audio-simtec.h
 delete mode 100644 include/linux/wm97xx_batt.h
 create mode 100644 sound/soc/codecs/ak4642.c
 create mode 100644 sound/soc/codecs/ak4642.h
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec.c
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec.h
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec_hermes.c
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c
 create mode 100644 sound/soc/sh/fsi-ak4642.c
#1 lore raw

At Sun, 23 Aug 2009 11:16:57 +0100,

Quoted 8 lines · Mark Brown

The following changes since commit a0a499c5792b8656cd51e11d5e0db9fb21640f58:
Eduardo Valentin (1):
ASoC: OMAP: Use DMA operating mode of McBSP

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git for-2.6.32

Hm, this causes merge errors regarding wm97xx battery driver. Also, when I merge with 2.6.31-rc7, it gives more merge errors in arch code.

Do they depend on other tree changes like linux-arm?

thanks,

Takashi

Quoted 72 lines

Ben Dooks (4):
ASoC: S3C24XX: Add audio core and tlv320aic23 for Simtec boards
ASoC: tlv320aic3x: Change to use device model
ASoC: tlv320aic3x: fixup board device changes
ASoC: S3C24XX: Support for Simtec Hermes boards

Kuninori Morimoto (2):
ASoC: Add ak4642/ak4643 codec support
ASoC: Add FSI-AK4642 sound support for SuperH

Marek Vasut (5):
power_supply: Make wm97xx-core pass platform_data to battery, ts
power_supply: Convert WM97xx battery to use platform_data
power_supply: Let wm97xx-battery use irq to detect charger state [ARM] pxa: Convert all platforms to pass platform_data to wm97xx battery
ASoC: Pass correct platform data from pxa2xx-ac97

Mark Brown (1):
ASoC: Add DAPM widget power decision debugfs files

Roel Kluin (1):
ASoC: free socdev if init_card() fails in wm9705_soc_probe()

 arch/arm/mach-pxa/mioa701.c                    |   10 +-
 arch/arm/mach-pxa/palmld.c                     |   19 +-
 arch/arm/mach-pxa/palmt5.c                     |   19 +-
 arch/arm/mach-pxa/palmte2.c                    |   20 +-
 arch/arm/mach-pxa/palmtx.c                     |   19 +-
 arch/arm/mach-pxa/palmz72.c                    |   20 +-
 arch/arm/mach-pxa/treo680.c                    |    1 -
 arch/arm/plat-s3c/include/plat/audio-simtec.h  |   37 ++
 drivers/input/touchscreen/wm97xx-core.c        |    3 +
 drivers/power/wm97xx_battery.c                 |   56 ++-
 include/linux/wm97xx.h                         |   18 +
 include/linux/wm97xx_batt.h                    |   26 --
 include/sound/soc-dapm.h                       |    1 +
 include/sound/soc.h                            |    1 +
 sound/arm/pxa2xx-ac97.c                        |    4 +-
 sound/soc/codecs/Kconfig                       |    4 +
 sound/soc/codecs/Makefile                      |    2 +
 sound/soc/codecs/ak4642.c                      |  502 ++++++++++++++++++++++++
 sound/soc/codecs/ak4642.h                      |   20 +
 sound/soc/codecs/tlv320aic3x.c                 |  221 ++++++-----
 sound/soc/codecs/tlv320aic3x.h                 |    2 -
 sound/soc/codecs/wm9705.c                      |    2 +-
 sound/soc/davinci/davinci-evm.c                |   12 +-
 sound/soc/omap/n810.c                          |   12 +-
 sound/soc/pxa/pxa2xx-ac97.c                    |    4 +-
 sound/soc/s3c24xx/Kconfig                      |   19 +
 sound/soc/s3c24xx/Makefile                     |    7 +
 sound/soc/s3c24xx/s3c24xx_simtec.c             |  394 +++++++++++++++++++
 sound/soc/s3c24xx/s3c24xx_simtec.h             |   22 +
 sound/soc/s3c24xx/s3c24xx_simtec_hermes.c      |  153 +++++++
 sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c |  137 +++++++
 sound/soc/s6000/s6105-ipcam.c                  |   12 +-
 sound/soc/sh/Kconfig                           |    8 +
 sound/soc/sh/Makefile                          |    2 +
 sound/soc/sh/fsi-ak4642.c                      |  107 +++++
 sound/soc/soc-core.c                           |    8 +
 sound/soc/soc-dapm.c                           |   86 ++++
 37 files changed, 1784 insertions(+), 206 deletions(-)
 create mode 100644 arch/arm/plat-s3c/include/plat/audio-simtec.h
 delete mode 100644 include/linux/wm97xx_batt.h
 create mode 100644 sound/soc/codecs/ak4642.c
 create mode 100644 sound/soc/codecs/ak4642.h
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec.c
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec.h
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec_hermes.c
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c
 create mode 100644 sound/soc/sh/fsi-ak4642.c
author
#2 lore raw
Quoted 1 line · Takashi Iwai

Hm, this causes merge errors regarding wm97xx battery driver.

Causes merge errors with which tree? It's a straight fast forward aginst topic/asoc.

Quoted 4 lines

Also, when I merge with 2.6.31-rc7, it gives more merge errors in arch code.

Do they depend on other tree changes like linux-arm?

I suspect they're at most only textual. In any case, this is all causing far too much trouble so I've just dropped all of the patches that are causing issues.

Marek, I suggest that you submit the patch to use IRQs against the power tree. I also suggest that you submit a version of the battery platform data changes against the power tree which avoids making the platforms instabuggy then when that's applied submit changes to Eric to use the new platform data, making it clear that the machine changes will need to wait for both power and ALSA trees to be merged during the merge window. This is the approach that's been suggested previously - it makes life much easier if changes go through the relevant trees.

The following changes since commit a0a499c5792b8656cd51e11d5e0db9fb21640f58:
Eduardo Valentin (1):
ASoC: OMAP: Use DMA operating mode of McBSP

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git for-2.6.32

Ben Dooks (4):
ASoC: S3C24XX: Add audio core and tlv320aic23 for Simtec boards
ASoC: tlv320aic3x: Change to use device model
ASoC: tlv320aic3x: fixup board device changes
ASoC: S3C24XX: Support for Simtec Hermes boards

Kuninori Morimoto (2):
ASoC: Add ak4642/ak4643 codec support
ASoC: Add FSI-AK4642 sound support for SuperH

Marek Vasut (1):
ASoC: Pass correct platform data from pxa2xx-ac97

Mark Brown (1):
ASoC: Add DAPM widget power decision debugfs files

Roel Kluin (1):
ASoC: free socdev if init_card() fails in wm9705_soc_probe()

 arch/arm/plat-s3c/include/plat/audio-simtec.h  |   37 ++
 include/sound/soc-dapm.h                       |    1 +
 include/sound/soc.h                            |    1 +
 sound/arm/pxa2xx-ac97.c                        |    4 +-
 sound/soc/codecs/Kconfig                       |    4 +
 sound/soc/codecs/Makefile                      |    2 +
 sound/soc/codecs/ak4642.c                      |  502 ++++++++++++++++++++++++
 sound/soc/codecs/ak4642.h                      |   20 +
 sound/soc/codecs/tlv320aic3x.c                 |  221 ++++++-----
 sound/soc/codecs/tlv320aic3x.h                 |    2 -
 sound/soc/codecs/wm9705.c                      |    2 +-
 sound/soc/davinci/davinci-evm.c                |   12 +-
 sound/soc/omap/n810.c                          |   12 +-
 sound/soc/pxa/pxa2xx-ac97.c                    |    4 +-
 sound/soc/s3c24xx/Kconfig                      |   19 +
 sound/soc/s3c24xx/Makefile                     |    7 +
 sound/soc/s3c24xx/s3c24xx_simtec.c             |  394 +++++++++++++++++++
 sound/soc/s3c24xx/s3c24xx_simtec.h             |   22 +
 sound/soc/s3c24xx/s3c24xx_simtec_hermes.c      |  153 +++++++
 sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c |  137 +++++++
 sound/soc/s6000/s6105-ipcam.c                  |   12 +-
 sound/soc/sh/Kconfig                           |    8 +
 sound/soc/sh/Makefile                          |    2 +
 sound/soc/sh/fsi-ak4642.c                      |  107 +++++
 sound/soc/soc-core.c                           |    8 +
 sound/soc/soc-dapm.c                           |   86 ++++
 26 files changed, 1661 insertions(+), 118 deletions(-)
 create mode 100644 arch/arm/plat-s3c/include/plat/audio-simtec.h
 create mode 100644 sound/soc/codecs/ak4642.c
 create mode 100644 sound/soc/codecs/ak4642.h
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec.c
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec.h
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec_hermes.c
 create mode 100644 sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c
 create mode 100644 sound/soc/sh/fsi-ak4642.c
#3 lore raw

Dne Po 24. srpna 2009 09:37:16 Takashi Iwai napsal(a):

Quoted 11 lines

At Sun, 23 Aug 2009 18:38:28 +0100,

Quoted 5 lines · Mark Brown
Quoted 1 line · Takashi Iwai

Hm, this causes merge errors regarding wm97xx battery driver.

Causes merge errors with which tree? It's a straight fast forward aginst topic/asoc.

Merging your changes into topic/asoc, then merging into master or for-next. So, it seems conflicting with the latest upstream.

Those patches were made against sound-2.6 from Mark ... I assume some additional stuff was pushed into the kernel after Mark updated his tree.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Also, when I merge with 2.6.31-rc7, it gives more merge errors in arch code.

Quoted 8 lines
Quoted 8 lines
Quoted 1 line

Do they depend on other tree changes like linux-arm?

I suspect they're at most only textual. In any case, this is all causing far too much trouble so I've just dropped all of the patches that are causing issues.

Marek, I suggest that you submit the patch to use IRQs against the power tree.

Where would this one be ?

Quoted 7 lines
Quoted 7 lines

I also suggest that you submit a version of the battery platform data changes against the power tree which avoids making the platforms instabuggy then when that's applied submit changes to Eric to use the new platform data, making it clear that the machine changes will need to wait for both power and ALSA trees to be merged during the merge window. This is the approach that's been suggested previously - it makes life much easier if changes go through the relevant trees.

If those changes go through one tree, it'll make them consistent and avoid breakage (because if some of those changes go through the power tree, some through Erics tree ... all of those trees would be broken for some time).

Quoted 7 lines
Quoted 7 lines

The following changes since commit a0a499c5792b8656cd51e11d5e0db9fb21640f58: Eduardo Valentin (1):
ASoC: OMAP: Use DMA operating mode of McBSP

are available in the git repository at:

Quoted 7 lines
Quoted 2 lines

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git
for-2.6.32

Thanks, pulled now.

Takashi

I rebased those patches against your tree -- sound-2.6/master -- and attached is the patch that had problems with merging (fixed version). The other patches apply fine.

From 45f88c5ca31ff4214cd4248ed9541c8279753c9e Mon Sep 17 00:00:00 2001
From: Marek Vasut <[email protected]>
Date: Fri, 28 Aug 2009 02:19:14 +0200
Subject: [PATCH 2/5] Convert WM97xx battery to use platform_data

This patch converts the wm97xx-battery driver to use platform_data supplied by ac97 bus.

---
 drivers/power/wm97xx_battery.c |   26 +++++++++++++++++---------
 include/linux/wm97xx.h         |   18 ++++++++++++++++++
 include/linux/wm97xx_batt.h    |   26 --------------------------
 3 files changed, 35 insertions(+), 35 deletions(-)
 delete mode 100644 include/linux/wm97xx_batt.h
drivers/power/wm97xx_battery.c +17 -9
index b787335..b62f7ae 100644
@@ -22,17 +22,18 @@
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
 #include <linux/gpio.h>
-#include <linux/wm97xx_batt.h>
 
 static DEFINE_MUTEX(bat_lock);
 static struct work_struct bat_work;
 struct mutex work_lock;
 static int bat_status = POWER_SUPPLY_STATUS_UNKNOWN;
-static struct wm97xx_batt_info *pdata;
 static enum power_supply_property *prop;
 
 static unsigned long wm97xx_read_bat(struct power_supply *bat_ps)
 {
+	struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data;
+	struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata;
+
 	return wm97xx_read_aux_adc(dev_get_drvdata(bat_ps->dev->parent),
 					pdata->batt_aux) * pdata->batt_mult /
 					pdata->batt_div;
@@ -40,6 +41,9 @@ static unsigned long wm97xx_read_bat(struct power_supply *bat_ps)
 
 static unsigned long wm97xx_read_temp(struct power_supply *bat_ps)
 {
+	struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data;
+	struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata;
+
 	return wm97xx_read_aux_adc(dev_get_drvdata(bat_ps->dev->parent),
 					pdata->temp_aux) * pdata->temp_mult /
 					pdata->temp_div;
@@ -49,6 +53,9 @@ static int wm97xx_bat_get_property(struct power_supply *bat_ps,
 			    enum power_supply_property psp,
 			    union power_supply_propval *val)
 {
+	struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data;
+	struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata;
+
 	switch (psp) {
 	case POWER_SUPPLY_PROP_STATUS:
 		val->intval = bat_status;
@@ -97,6 +104,8 @@ static void wm97xx_bat_external_power_changed(struct power_supply *bat_ps)
 static void wm97xx_bat_update(struct power_supply *bat_ps)
 {
 	int old_status = bat_status;
+	struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data;
+	struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata;
 
 	mutex_lock(&work_lock);
 
@@ -149,6 +158,8 @@ static int __devinit wm97xx_bat_probe(struct platform_device *dev)
 	int ret = 0;
 	int props = 1;	/* POWER_SUPPLY_PROP_PRESENT */
 	int i = 0;
+	struct wm97xx_pdata *wmdata = dev->dev.platform_data;
+	struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata;
 
 	if (dev->id != -1)
 		return -EINVAL;
@@ -156,7 +167,7 @@ static int __devinit wm97xx_bat_probe(struct platform_device *dev)
 	mutex_init(&work_lock);
 
 	if (!pdata) {
-		dev_err(&dev->dev, "Please use wm97xx_bat_set_pdata\n");
+		dev_err(&dev->dev, "No platform_data supplied\n");
 		return -EINVAL;
 	}
 
@@ -229,6 +240,9 @@ err:
 
 static int __devexit wm97xx_bat_remove(struct platform_device *dev)
 {
+	struct wm97xx_pdata *wmdata = dev->dev.platform_data;
+	struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata;
+
 	if (pdata && pdata->charge_gpio && pdata->charge_gpio >= 0)
 		gpio_free(pdata->charge_gpio);
 	flush_scheduled_work();
@@ -258,12 +272,6 @@ static void __exit wm97xx_bat_exit(void)
 	platform_driver_unregister(&wm97xx_bat_driver);
 }
 
-void __init wm97xx_bat_set_pdata(struct wm97xx_batt_info *data)
-{
-	pdata = data;
-}
-EXPORT_SYMBOL_GPL(wm97xx_bat_set_pdata);
-
 module_init(wm97xx_bat_init);
 module_exit(wm97xx_bat_exit);
 
include/linux/wm97xx.h +18 -0
index 6f69968..b2c2297 100644
@@ -286,6 +286,24 @@ struct wm97xx {
 	u16 suspend_mode;               /* PRP in suspend mode */
 };
 
+struct wm97xx_batt_pdata {
+	int	batt_aux;
+	int	temp_aux;
+	int	charge_gpio;
+	int	min_voltage;
+	int	max_voltage;
+	int	batt_div;
+	int	batt_mult;
+	int	temp_div;
+	int	temp_mult;
+	int	batt_tech;
+	char	*batt_name;
+};
+
+struct wm97xx_pdata {
+	struct wm97xx_batt_pdata	*batt_pdata;	/* battery data */
+};
+
 /*
  * Codec GPIO access (not supported on WM9705)
  * This can be used to set/get codec GPIO and Virtual GPIO status.
include/linux/wm97xx_batt.h deleted +0 -26
deleted file mode 100644
index 9681d1a..0000000
@@ -1,26 +0,0 @@
-#ifndef _LINUX_WM97XX_BAT_H
-#define _LINUX_WM97XX_BAT_H
-
-#include <linux/wm97xx.h>
-
-struct wm97xx_batt_info {
-	int	batt_aux;
-	int	temp_aux;
-	int	charge_gpio;
-	int	min_voltage;
-	int	max_voltage;
-	int	batt_div;
-	int	batt_mult;
-	int	temp_div;
-	int	temp_mult;
-	int	batt_tech;
-	char	*batt_name;
-};
-
-#ifdef CONFIG_BATTERY_WM97XX
-void __init wm97xx_bat_set_pdata(struct wm97xx_batt_info *data);
-#else
-static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {}
-#endif
-
-#endif
Signature · 1 line
1.6.3.3

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

author
#4 lore raw
Quoted 7 lines · Marek Vasut

Dne Po 24. srpna 2009 09:37:16 Takashi Iwai napsal(a):

Quoted 2 lines

Merging your changes into topic/asoc, then merging into master or for-next. So, it seems conflicting with the latest upstream.

Those patches were made against sound-2.6 from Mark ... I assume some additional stuff was pushed into the kernel after Mark updated his tree.

Yes, there have been changes in mainline since the last time it was merged up onto the ASoC branch.

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

Marek, I suggest that you submit the patch to use IRQs against the power tree.

Where would this one be ?

MAINTAINERS says:

POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS

P:      Anton Vorontsov
M:      [email protected]
P:      David Woodhouse
M:      [email protected]
T:      git git://git.infradead.org/battery-2.6.git
S:      Maintained
F:      include/linux/power_supply.h
F:      drivers/power/power_supply*
Quoted 11 lines
Quoted 7 lines
Quoted 7 lines

I also suggest that you submit a version of the battery platform data changes against the power tree which avoids making the platforms instabuggy then when that's applied submit changes to Eric to use the new platform data, making it clear that the machine changes will need to wait for both power and ALSA trees to be merged during the merge window. This is the approach that's been suggested previously - it makes life much easier if changes go through the relevant trees.

If those changes go through one tree, it'll make them consistent and avoid breakage (because if some of those changes go through the power tree, some through Erics tree ... all of those trees would be broken for some time).

As previously explained these issues would be pretty much dealt with if you were to ensure that changing the battery driver did not require immediate updates to the boards. This is the standard technique used to do this sort of change which affects many trees and generally works pretty well. As things stand the arch/arm bit shouldn't be split from the drivers/power change to the platform data.

Quoted 3 lines

I rebased those patches against your tree -- sound-2.6/master -- and attached is the patch that had problems with merging (fixed version). The other patches apply fine.

Please also check that the resulting branch will merge down cleanly into -next - that's what they'll end up getting merged into.

Also, I've asked you several times to stop sending multiple patches in one e-mail. As I've said before the fact that you are submitting patches like this means that they require a special manual workflow to apply. Have you tried using git format-patch and git send-email to send patches? I have suggested this to you several times without any response. These programs will take care of the overwhelming majority of the technical issues with your submissions - there are example configurations available for use with gmail.

#5 lore raw

Dne Pá 28. srpna 2009 15:49:49 Mark Brown napsal(a):

Quoted 10 lines · Marek Vasut
Quoted 6 lines

Dne Po 24. srpna 2009 09:37:16 Takashi Iwai napsal(a):

Quoted 2 lines

Merging your changes into topic/asoc, then merging into master or for-next. So, it seems conflicting with the latest upstream.

Those patches were made against sound-2.6 from Mark ... I assume some additional stuff was pushed into the kernel after Mark updated his tree.

Yes, there have been changes in mainline since the last time it was merged up onto the ASoC branch.

Yes, that part of patch that conflicted in Takashi's tree was the same one I had to fix for your tree iirc.

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

Marek, I suggest that you submit the patch to use IRQs against the power tree.

Where would this one be ?

MAINTAINERS says:

POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS

Quoted 8 lines
P:      Anton Vorontsov
M:      [email protected]
P:      David Woodhouse
M:      [email protected]
T:      git git://git.infradead.org/battery-2.6.git
S:      Maintained
F:      include/linux/power_supply.h
F:      drivers/power/power_supply*

I think you noticed it's not very up-to-date (.31-rc1, last update from 30/07/2009).

Quoted 25 lines
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines

I also suggest that you submit a version of the battery platform data changes against the power tree which avoids making the platforms instabuggy then when that's applied submit changes to Eric to use the new platform data, making it clear that the machine changes will need to wait for both power and ALSA trees to be merged during the merge window. This is the approach that's been suggested previously - it makes life much easier if changes go through the relevant trees.

Quoted 4 lines

If those changes go through one tree, it'll make them consistent and avoid breakage (because if some of those changes go through the power tree, some through Erics tree ... all of those trees would be broken for some time).

As previously explained these issues would be pretty much dealt with if you were to ensure that changing the battery driver did not require immediate updates to the boards. This is the standard technique used to do this sort of change which affects many trees and generally works pretty well. As things stand the arch/arm bit shouldn't be split from the drivers/power change to the platform data.

Quoted 3 lines

I rebased those patches against your tree -- sound-2.6/master -- and attached is the patch that had problems with merging (fixed version). The other patches apply fine.

Quoted 5 lines

Please also check that the resulting branch will merge down cleanly into -next - that's what they'll end up getting merged into.

Also, I've asked you several times to stop sending multiple patches in one e-mail.

I mailed only one.

Quoted 7 lines

As I've said before the fact that you are submitting patches like this means that they require a special manual workflow to apply. Have you tried using git format-patch and git send-email to send patches? I have suggested this to you several times without any response. These programs will take care of the overwhelming majority of the technical issues with your submissions - there are example configurations available for use with gmail.

Yeah, I need to look into that ... it's not like Im ignoring it.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

author
#6 lore raw
Quoted 2 lines · Marek Vasut

I think you noticed it's not very up-to-date (.31-rc1, last update from 30/07/2009).

I haven't actually had much cause to look at it but an update from a month ago seems reasonable - the power subsystem is fairly small and I wouldn't expect an enormous rate of change in it.

Quoted 4 lines
Quoted 2 lines

Also, I've asked you several times to stop sending multiple patches in one e-mail.

I mailed only one.

So you did; my mistake (I had expected you to have resent entire series).

Quoted 7 lines
Quoted 5 lines

Have you tried using git format-patch and git send-email to send patches? I have suggested this to you several times without any response. These programs will take care of the overwhelming majority of the technical issues with your submissions - there are example configurations available for use with gmail.

Yeah, I need to look into that ... it's not like Im ignoring it.

Please do so and if you're running into problems ask. You're doing a lot of good work but the fact that you do so much work makes it more important that this stuff work well - an occasional patch that needs manual handling is not so bad but the more work that's involved the more additional overhead adds up.