the int base is changed to the wrong address during the refactoring.
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/intel_sst/intelmid.c
b/drivers/staging/intel_sst/intelmid.c
index
in order to make jack detection behave properly, we have to set
the de-bounce time, otherwise, some weird events happens:
e.g. no plug-out event seen.
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c |6 +-
1 files changed, 5 insertions(+), 1 deletions
otherwise, the compilation will fail for such command:
make O=obj
Signed-off-by: Lu Guanqun
---
drivers/net/wireless/ath/ath6k/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/ath/ath6k/Makefile
b/drivers/net/wireless/ath/ath6k
> -Original Message-
> From: Alan Cox [mailto:a...@linux.intel.com]
> Sent: Tuesday, March 08, 2011 6:45 PM
> To: Lu, Guanqun
> Cc: meego-kernel@lists.meego.com; ar...@linux.intel.com; Wu, Fengguang;
> Tang, Feng; Fu, Michael; Wang, Xingchao
> Subject: Re: [PATCH 2/
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c
b/drivers/staging/intel_sst/intelmid_v2_control.c
index 6fd30a5..dd3ac24 100644
--- a
___
MeeGo-kernel mailing list
MeeGo-kernel@lists.meego.com
http://lists.meego.com/listinfo/meego-kernel
mis-behaviour. please ignore this mail. Sorry for trouble.
> -Original Message-
> From: meego-kernel-boun...@lists.meego.com
> [mailto:meego-kernel-boun...@lists.meego.com] On Behalf Of Lu Guanqun
> Sent: Monday, March 14, 2011 9:40 AM
> To: meego-kernel@lists.meego.com
&g
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c
b/drivers/staging/intel_sst/intelmid_v2_control.c
index 3ab10ca..ed0932f 100644
--- a
Previously, they're changed only at selecting HS_MIC,
this should be enabled at startup time. Thus change accordingly.
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c | 26 ++
1 files changed, 12 insertions(+), 14 deletions(-)
diff --
Previously, they're changed only at selecting HS_MIC,
this should be enabled at startup time. Thus change accordingly.
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c | 28 ++
1 files changed, 13 insertions(+), 15 deletions(-)
diff --
> - sst_sc_reg_access(sc_access, PMIC_WRITE, 26);
> + sst_sc_reg_access(sc_access, PMIC_WRITE, 27);
I left this part on my working directory, failed to refresh to my previous sent
patch.
Resend again.
Thanks!
--guanqun
___
MeeGo-kernel mailing
> -Original Message-
> From: Wu Fengguang [mailto:w...@linux.intel.com]
> Sent: Wednesday, March 16, 2011 2:12 PM
> To: Lu, Guanqun
> Cc: meego-kernel@lists.meego.com; a...@linux.intel.com;
> ar...@linux.intel.com; Tang, Feng; Fu, Michael; Wang, Xingchao; Koul, Vinod;
&
s, an interrupt will be generated.
This behaviour is more likely what a user expects.
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c | 28 ++
1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/inte
Hi Alan,
Would you please take this patch?
--guanqun
> -Original Message-
> From: Lu, Guanqun
> Sent: Wednesday, March 16, 2011 9:56 PM
> To: meego-kernel@lists.meego.com
> Cc: a...@linux.intel.com; ar...@linux.intel.com; Wu, Fengguang; Tang, Feng;
> Fu, Michael; Wang
Without this patch, the change of output/input device can't be reflected
correctly.
The mismatch reflects insane design, and should be fixed when switching to the
ASoC framework.
Signed-off-by: Lu Guanqun
Acked-by: Wu Fengguang
---
drivers/staging/intel_sst/intelmid_ctrl.c |
take action to auto mute the speaker.
The new policy will enable this bit by default,
then no matter what the output device is, an interrupt will be generated.
This behaviour is more likely what a user expects.
Signed-off-by: Lu Guanqun
Reviewed-by: Wu Fengguang
---
drivers/staging/inte
From: Wang Xingchao
when detected a Jack event, Audio sound routes between internal speaker
and headphone/headset automatically.
Signed-off-by: xingchao
Reviewed-by: Wu Fengguang
---
drivers/staging/intel_sst/intelmid_v2_control.c | 17 +
1 files changed, 17 insertions(+), 0
Sometimes setting mute alone can't shut up the internal speakers,
better to power off/on it on demand
CC: "Koul, Vinod"
CC: "Kp, Jeeja"
Signed-off-by: Lu Guanqun
Signed-off-by: Wang Xingchao
---
drivers/staging/intel_sst/intelmid_v2_control.c |4
1 files ch
> -Original Message-
> From: Alan Cox [mailto:a...@linux.intel.com]
> Sent: Thursday, March 24, 2011 6:09 PM
> To: Lu, Guanqun
> Cc: meego-kernel@lists.meego.com; ar...@linux.intel.com; Wu, Fengguang;
> Tang, Feng; Fu, Michael; Wang, Xingchao; Koul, Vinod; Kp, Jeeja
>
> -Original Message-
> From: Alan Cox [mailto:a...@linux.intel.com]
> Sent: Thursday, March 24, 2011 6:08 PM
> To: Lu, Guanqun
> Cc: meego-kernel@lists.meego.com; ar...@linux.intel.com; Wu, Fengguang;
> Tang, Feng; Fu, Michael; Wang, Xingchao; Koul, Vinod; Kp, Jeeja
>
er to power off/on it on demand
CC: "Koul, Vinod"
CC: "Kp, Jeeja"
Signed-off-by: Lu Guanqun
Signed-off-by: Wang Xingchao
---
drivers/staging/intel_sst/intelmid_v2_control.c | 31 --
1 files changed, 28 insertions(+), 3 d
Hi Alan,
This patch can be cleanly applied to your tree.
--guanqun
On Thu, Mar 24, 2011 at 10:37:14PM +0800, Lu, Guanqun wrote:
> patch 1:
>
> add SPKR on
>
> To add SPKR on for MM.
>
> Signed-off-by: Jeff Cheng
>
> patch 2:
>
> no
On Thu, Mar 24, 2011 at 11:53:40PM +0800, Alan Cox wrote:
> > + gpio_set_value(64+16+2, 0);
> > + }
>
> Thanks - but the gpio still wants a define and properly requesting and
> configuring.
OK. I'll add a patch for this and then resend these four patches.
--
guanqun
ower on or off the internal speaker on
demand.
CC: "Koul, Vinod"
CC: "Kp, Jeeja"
Reviewed-by: Wu Fengguang
Signed-off-by: Jeff Cheng
Signed-off-by: Lu Guanqun
Signed-off-by: Wang Xingchao
---
drivers/staging/intel_sst/intel_sst.h |2 ++
driver
ch attached.
--
guanqun
>From bd249ff3390d2760887ec83ef86437dea0bcdb0b Mon Sep 17 00:00:00 2001
From: Lu Guanqun
Date: Thu, 24 Mar 2011 22:28:56 +0800
Subject: [PATCH v4] sst: internal speaker needs setting a GPIO line
This patch originates from Jeff Cheng's patch to enable the internal s
Hi,
These two patches are based on Alan Cox's tree:
git://git.kernel.org/pub/scm/linux/kernel/git/alan/linux-2.6-mid-ref.git master
v9:
- rename `amp_pin` to `pin`
- rename `amp power` to `speaker power`
- rename `gpio_speaker_power_pin` to `gpio_speaker_power`
v
table.
Signed-off-by: Lu Guanqun
Reviewed-by: Tang Feng
Acked-by: Wu Fengguang
---
arch/x86/include/asm/mrst.h |1 +
arch/x86/platform/mrst/mrst.c | 35 ++-
2 files changed, 19 insertions(+), 17 deletions(-)
diff --git a/arch/x86/include/asm/mrst.h b
it.
When we set the output device, we power on or off the internal speaker on
demand.
CC: "Koul, Vinod"
CC: "Kp, Jeeja"
Reviewed-by: Wu Fengguang
Signed-off-by: Jeff Cheng
Signed-off-by: Lu Guanqun
Signed-off-by: Wang Xingchao
---
drivers/staging/intel_sst/Kconfig
On Mon, Mar 28, 2011 at 10:35:36AM +0800, Arjan van de Ven wrote:
> On 3/27/2011 7:29 PM, Lu Guanqun wrote:
> >
> > pr_debug("sst: powering dn nc_power_down \n");
> >
> > + if (snd_pmic_ops_nc.output_dev_id == MONO_EARPIECE ||
> > + snd
On Mon, Mar 28, 2011 at 10:47:23AM +0800, Arjan van de Ven wrote:
> On 3/27/2011 7:47 PM, Feng Tang wrote:
> > On Mon, 28 Mar 2011 10:34:22 +0800
> > Arjan van de Ven wrote:
> >
> >> On 3/27/2011 7:29 PM, Lu Guanqun wrote:
> >>> Export get_gpio_by_name
We expose GPIO pin of the internal speaker to platform for later use.
Signed-off-by: Lu Guanqun
---
arch/x86/platform/mrst/mrst.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c
index bc5993f
On Moorestown platform, internal speaker's power line is connected to a GPIO
line, so we need to enable or disable it properly.
CC: "Koul, Vinod"
CC: "Kp, Jeeja"
Reviewed-by: Wu Fengguang
Signed-off-by: Jeff Cheng
Signed-off-by: Lu Guanqun
Signed-off-by: Wang Xingc
On Fri, Apr 01, 2011 at 11:54:06PM +0800, Jekyll Lai wrote:
> Correct event type of audio jack while receiving long press event.
>
> Signed-off-by: Andy CH Lin
> Signed-off-by: Jekyll Lai
Acked-by: Lu Guanqun
CC Alan in case he missed this...
> ---
> drivers
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c
b/drivers/staging/intel_sst/intelmid_v2_control.c
index 9f1b4a5..4128d54 100644
--- a/drivers
Rename it beacase there's a request to use "Master Playback Volume" instead of
"PCM Playback Volume".
And this renaming makes it more end user friendly.
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid.h |2 +-
drivers/staging/intel_s
Hi Alan,
Please ignore this patch. With some additional inputs, we better keep
Master and PCM separate.
I'll cook another patch to make this "Master Playback Switch" into a
"Master Playback Volume".
Thanks!
On Mon, Apr 25, 2011 at 04:16:04PM +0800, Lu Guanqun wrote:
&g
When the corresponding output device is not in playback, we can hear a little
noises.
Fix it by powering on the device only when it's in playback.
Signed-off-by: Lu Guanqun
Reviewed-by: Wu Fengguang
---
drivers/staging/intel_sst/intelmid_v2_control.c | 19 +++
1
Signed-off-by: Lu Guanqun
---
drivers/usb/otg/langwell_otg.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/otg/langwell_otg.c b/drivers/usb/otg/langwell_otg.c
index e368ee1..ae7a51f 100644
--- a/drivers/usb/otg/langwell_otg.c
+++ b/drivers/usb/otg
On Wed, Apr 27, 2011 at 06:57:00AM +0800, Arjan van de Ven wrote:
> On 4/26/2011 12:19 AM, Lu Guanqun wrote:
> > drivers/staging/intel_sst/intelmid_v2_control.c | 19 +++
> > 1 files changed, 15 insertions(+), 4 deletions(-)
> >
> > diff --git
With this patch, Master Volume will control AUDIOLVOL(0x10c) and
AUDIORVOL(0x10d); while PCM Volume will control HPLVOL(0x123) and
HPRVOL(0x124).
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid.h |7 ++-
drivers/staging/intel_sst/intelmid_ctrl.c| 40
On Wed, Apr 27, 2011 at 08:07:46PM +0800, Alan Cox wrote:
> On Wed, 27 Apr 2011 10:09:07 +0800
> Lu Guanqun wrote:
>
> > With this patch, Master Volume will control AUDIOLVOL(0x10c) and
> > AUDIORVOL(0x10d); while PCM Volume will control HPLVOL(0x123) and
> > HPRVOL
On Wed, Apr 27, 2011 at 06:57:00AM +0800, Arjan van de Ven wrote:
> On 4/26/2011 12:19 AM, Lu Guanqun wrote:
> > drivers/staging/intel_sst/intelmid_v2_control.c | 19 +++
> > 1 files changed, 15 insertions(+), 4 deletions(-)
> >
> > diff --git
According to Arjan's advice, this time delay is removed.
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c
b/drivers/staging/inte
igned-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intel_sst.h |1 +
drivers/staging/intel_sst/intelmid_v2_control.c | 18 --
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/intel_sst/intel_sst.h
b/drivers/staging/intel_sst/intel_
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c | 12 +++-
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c
b/drivers/staging/intel_sst/intelmid_v2_control.c
index b64aeca..ad0ae68 100644
--- a
Hi Arjan,
On Tue, May 17, 2011 at 06:08:59AM +0800, Arjan van de Ven wrote:
> On 5/16/2011 5:12 AM, Lu Guanqun wrote:
> > Signed-off-by: Lu Guanqun
>
> unfortunately I cannot put this patch in as is, since there is
> absolutely no description to it
The subject line descr
/PLL2
needs at least 5ms to stablize. Besides, 250us is added after setting
VAUDIO1/VAUDIO2. The delay is added at three places: a) initialization time.
b) the time to playback. c) the time to capture.
Signed-off-by: Lu Guanqun
---
drivers/staging/intel_sst/intelmid_v2_control.c |
ectly.
Accoring to the spec, AUVR needs at least 2ms to stablize, while PLL1/PLL2
needs at least 5ms to stablize. Besides, 250us is added after setting
VAUDIO1/VAUDIO2. The delay is added at three places: a) initialization time.
b) the time to playback. c) the time to capture.
Signed-off-by: Lu Gu
On Mon, May 23, 2011 at 03:45:03PM +0800, Lu Guanqun wrote:
> very low.
Hi Arjan,
oops, the stgit client chops the long subject line...
please ignore this mail, and use this next patch I sent.
Sorry for the trouble.
>
> Accoring to the investigation in Wistron, it's due to t
Hi Arjan,
Could you accept this patch into your patchset?
As I check your devel version kernel-adaptation-mrst-2.6.37.6-57.1,
this is not in yet.
This patch fixes this bug:
https://bugzilla.otcshare.org/show_bug.cgi?id=4807
Thanks!
On Wed, Apr 27, 2011 at 10:09:07AM +0800, Lu Guanqun wrote
Powering off speaker via GPIO after PMIC shuts down causes a huge pop sound
coming out from speaker. Moving it to early place before PMIC shuts down will
solve this problem.
This patch fixes the bug: https://bugzilla.otcshare.org/show_bug.cgi?id=8266
Signed-off-by: Lu Guanqun
---
drivers
!
On Wed, Jun 01, 2011 at 10:15:36PM +0800, Lu Guanqun wrote:
> Powering off speaker via GPIO after PMIC shuts down causes a huge pop sound
> coming out from speaker. Moving it to early place before PMIC shuts down will
> solve this problem.
>
> This patch fixes the bug: https://b
On Wed, Jun 01, 2011 at 09:58:17PM +0800, Arjan van de Ven wrote:
> On 6/1/2011 4:37 AM, Chang, Samuel wrote:
> > Hi Samuel,
> >
> > This setting was deal with Wistron and reserved for Meego.
> > This will affect ar6003 init, exit functions and firmware path for driver.
>
> how is meego different
review and put these into your MRST patchset?
I've tested these two patches and it works as expected.
--
guanqun
>From b0064cf74706faca7acbd8dacfdd1037a83d7b7a Mon Sep 17 00:00:00 2001
From: Lu Guanqun
Date: Wed, 22 Jun 2011 07:01:18 +0800
Subject: [PATCH 1/2] sst: add another mea
Hi Kristen,
Fengguang developped two patches for audio driver to help fixing bug BOO
#6988.
alsa-pointer-trace.patch adds the trace functionality to help show
how the app_ptr and hw_ptr goes. This will help users understand what's
going on under the hood.
alsa-mrst-smooth-hw-pointer.patch, as sh
report the correct events, 3 should be passed instead of 1.
This fixes BOO #10234 on the kernel side.
Signed-off-by: Lu Guanqun
Index: linux-2.6.37/drivers/staging/intel_sst/intelmid_v2_control.c
===
--- linux-2.6.37.orig/drivers/sta
fact these code paths are
harmless, therefore we'd better make these error message to be debug messages
in order to prevent people from heart attacks. :)
Signed-off-by: Lu Guanqun
Index: linux-2.6.37/drivers/staging/intel_sst/intel_sst_str
'SND_CARD_TRISTATED' which
prevents us from un-muting speaker/headphone by accident.
Signed-off-by: Lu Guanqun
Index: linux-2.6.37/drivers/staging/intel_sst/intelmid_v2_control.c
===
--- linux-2.6.37.orig/drivers/staging
58 matches
Mail list logo