htc-msm-2-6-32:leviathan-incoming.git
8 years ago[arm] add tracing msmfb_revert
Denis 'GNUtoo' Carikli [Wed, 21 Apr 2010 09:16:19 +0000 (11:16 +0200)]
[arm] add tracing

8 years agomsmfb: revert
Denis 'GNUtoo' Carikli [Wed, 21 Apr 2010 09:12:47 +0000 (11:12 +0200)]
msmfb: revert

8 years agonew try
Denis 'GNUtoo' Carikli [Mon, 12 Apr 2010 21:35:24 +0000 (23:35 +0200)]
new try

8 years agomsm_fb.c: instead of suspending/resuming at FBIOBLANK just blank/unblank
Denis 'GNUtoo' Carikli [Mon, 12 Apr 2010 20:53:29 +0000 (22:53 +0200)]
msm_fb.c: instead of suspending/resuming at FBIOBLANK just blank/unblank

At (fake)suspend(echo mem > /sys/power/state) the driver crashed

8 years ago[ARM] msm-fb: fix updating the screen after logo has been loaded
Michael 'Mickey' Lauer [Mon, 12 Apr 2010 18:46:07 +0000 (20:46 +0200)]
[ARM] msm-fb: fix updating the screen after logo has been loaded

8 years ago[ARM] msm-fb: add bootlogo configuration entries
Michael 'Mickey' Lauer [Sun, 11 Apr 2010 22:01:25 +0000 (00:01 +0200)]
[ARM] msm-fb: add bootlogo configuration entries

8 years ago[video] msmfb: add a kconfig option for FBIOBLANK ioctl
Denis 'GNUtoo' Carikli [Fri, 9 Apr 2010 20:30:27 +0000 (22:30 +0200)]
[video] msmfb: add a kconfig option for FBIOBLANK ioctl

If not enabled(which is the default),
this option workarrounds for a kernel crash when Xorg exits

8 years ago[video] msm_fb.c : added some forgetten MSMFB_BLANKIOCTL ifdefs
Denis 'GNUtoo' Carikli [Fri, 9 Apr 2010 17:05:57 +0000 (19:05 +0200)]
[video] msm_fb.c : added some forgetten MSMFB_BLANKIOCTL ifdefs

8 years ago[Video] msm_fb.c : make the resume mutex dependant on the blank ioctl
Denis 'GNUtoo' Carikli [Fri, 9 Apr 2010 14:29:06 +0000 (16:29 +0200)]
[Video] msm_fb.c : make the resume mutex dependant on the blank ioctl

Theses mutexes were not present before the implementation of FBIOBLANK

8 years ago[Video] msm_fb.c : make FBIOBLANK ioctl optional
Denis 'GNUtoo' Carikli [Fri, 9 Apr 2010 13:55:34 +0000 (15:55 +0200)]
[Video] msm_fb.c : make FBIOBLANK ioctl optional

FBIOBLANK imlpementation made use of refactorized functions,
  which could cause some issues because earlier suspend
  and suspend were merged,so that was ifdefed

8 years ago[Video] : msmfb.c : stop the refresh thread when the pannel is off
Denis 'GNUtoo' Carikli [Fri, 9 Apr 2010 10:22:37 +0000 (12:22 +0200)]
[Video] : msmfb.c : stop the refresh thread when the pannel is off

*All is ifdefed trough CONFIG_FB_MSM_REFRESH,
so the msmfb driver should compile without(not tested)
*removed the wrong way to kill it in MSMFB_SUSPEND_SW_REFRESHER
  because it had several flaws:
  *MSMFB_SUSPEND_SW_REFRESHER was never called with xf86-video-fbdev
  *wait_for_completion_killable had wrong argument type
    (it required a struct completion)
  *wait_for_completion_killable seem(as far as I understood)
    to be a function that wait for the completion of the thread,
    and this function waiting for that is killable
    (so if it worked it wouldn't kill the thread and because
    there is a while in the thread,it would block the caller
    and wait ethernally)
*converted the refresh thread to new style,killable threads
  (kill signal is handled in the thread),and 2 functions were
  made for starting and stopping the thread
*called the 2 start and stop functions when the thread should
  start or stop

8 years ago[ARM] msm/board-trout-panel: resume backlight at last level requested by userland
Michael 'Mickey' Lauer [Tue, 6 Apr 2010 17:35:11 +0000 (19:35 +0200)]
[ARM] msm/board-trout-panel: resume backlight at last level requested by userland

Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
8 years ago[ARM] msm: board-trout-rfkill: remove default hardware block from bluetooth rfkill
Denis 'GNUtoo' Carikli [Mon, 5 Apr 2010 10:52:50 +0000 (12:52 +0200)]
[ARM] msm: board-trout-rfkill: remove default hardware block from bluetooth rfkill

  Thanks mickeyl for the fix,
  without this fix we can't unlock bluetooth(state stays on 2)

8 years ago[mmc] msm_sdcc: imported msm_sdcc.c and msm_sdcc.h
Denis 'GNUtoo' Carikli [Mon, 5 Apr 2010 10:44:01 +0000 (12:44 +0200)]
[mmc] msm_sdcc: imported msm_sdcc.c and msm_sdcc.h
  files from git://gitorious.org/replicant/gnulinuxkernel.git
  this fix timeout issue while initializing wifi(modprobing msm_wifi)

8 years ago[mmc]: remove msm_sdcc driver future inclusion of another one
Denis 'GNUtoo' Carikli [Mon, 5 Apr 2010 10:18:33 +0000 (12:18 +0200)]
[mmc]: remove msm_sdcc driver future inclusion of another one

8 years ago[ARM] msm: board-trout: remove unexistant spotlight(it didn't made it in final the...
Denis 'GNUtoo' Carikli [Sat, 3 Apr 2010 15:54:07 +0000 (17:54 +0200)]
[ARM] msm: board-trout: remove unexistant spotlight(it didn't made it in final the product)

8 years ago[video] msm_fb: removed the now useless msmfb_blank_and_suspend function
Denis 'GNUtoo' Carikli [Sat, 3 Apr 2010 12:48:31 +0000 (14:48 +0200)]
[video] msm_fb: removed the now useless msmfb_blank_and_suspend function

It was made useless by the previous commit
([video] msm_fb: fixed concurency issue with suspend/resume and blank/unblank)

8 years ago[video] msm_fb: fixed concurency issue with suspend/resume and blank/unblank
Denis 'GNUtoo' Carikli [Sat, 3 Apr 2010 12:40:37 +0000 (14:40 +0200)]
[video] msm_fb: fixed concurency issue with suspend/resume and blank/unblank

Added mutexes to protect msmfb_unblank_and_resume ,removed the split between
  msmfb_blank_and_early_suspend and msmfb_blank_and_suspend
Also a friend suggested me to add the
  if (msmfb->sleeping == WAKING ) and if (msmfb->sleeping == SLEEPING )
  checks

8 years ago[video] msm_fb: handle blanking and unblanking
Denis 'GNUtoo' Carikli [Fri, 2 Apr 2010 20:56:41 +0000 (22:56 +0200)]
[video] msm_fb: handle blanking and unblanking

I refactorized the suspend functions and used theses also
  for blanking/unblanking

8 years ago[ARM] mach-msm: htc_pwrsink: use more precise ifdef CONFIG_EARLYSUSPEND instead...
Denis 'GNUtoo' Carikli [Fri, 2 Apr 2010 20:40:13 +0000 (22:40 +0200)]
[ARM] mach-msm: htc_pwrsink: use more precise ifdef CONFIG_EARLYSUSPEND  instead of CONFIG_WAKELOCK

That makes possible to compile the kernel without CONFIG_EARLYSUSPEND

8 years ago[video] msm_fb: unblank the pannel when resuming
Denis 'GNUtoo' Carikli [Fri, 2 Apr 2010 20:16:32 +0000 (22:16 +0200)]
[video] msm_fb: unblank the pannel when resuming

This commit makes possible(and advisable) to choose None in
  the "User-space screen access" kernel configuration

Thanks mickeyl for the idea(he told me that unblank
  was not called when resuming)

8 years agoimplemented primitive MSMFB_CURSOR ioctl and
David Lanzendörfer [Fri, 19 Mar 2010 20:16:19 +0000 (21:16 +0100)]
implemented primitive MSMFB_CURSOR ioctl and
increased refresh frequency of the refresh thread
(Perhaps the first step for solving gtk issue)

8 years agoEnabling suspend and resumation of the
David Lanzendörfer [Fri, 19 Mar 2010 18:01:32 +0000 (19:01 +0100)]
Enabling suspend and resumation of the
refresh_thread.
By killing the refresh-thread for suspend.
And starting a new one when resume.

8 years agoAdding cases for not yet implementet ioctls
David Lanzendörfer [Mon, 15 Mar 2010 15:09:39 +0000 (16:09 +0100)]
Adding cases for not yet implementet ioctls

8 years agoDeleted .rej files that were introduced with commit
Denis 'GNUtoo' Carikli [Sat, 20 Feb 2010 13:37:22 +0000 (14:37 +0100)]
Deleted .rej files that were introduced with commit
  032ded84cee776b926b7b84702db4ee5e2bcf449

8 years ago.gitignore: protect against *.rej
Denis 'GNUtoo' Carikli [Sat, 20 Feb 2010 13:34:52 +0000 (14:34 +0100)]
.gitignore: protect against *.rej

commit 032ded84cee776b926b7b84702db4ee5e2bcf449 accidentally
  included .rej files,we now protect against it

8 years ago[ARM] mach-msm: trout backlight: fix actual_brightness values
Denis 'GNUtoo' Carikli [Fri, 19 Feb 2010 21:39:48 +0000 (22:39 +0100)]
[ARM] mach-msm: trout backlight: fix actual_brightness values

The actual_brightness sysfs node reported bad values because I
  misinterpretated the trout_backlight_last_level variable.

It's now fixed...but...the Documentation that is at:
  .../Documentation/ABI/stable/sysfs-class-backlight
  Says:
  "Show the actual brightness by querying the hardware."
  Which I didn't do.

8 years agoRevert "Alsa fix to get mplayer working" because it's not necessary anymore
Denis 'GNUtoo' Carikli [Thu, 18 Feb 2010 13:56:39 +0000 (14:56 +0100)]
Revert "Alsa fix to get mplayer working" because it's not necessary anymore

This reverts commit 47ace06ac22a810e87203772d6ac512587ef2141.

The commit 5258d9043149cb17dd2e46cb32df9f1b90126abd makes that hack unnecessary
The commit 5258d9043149cb17dd2e46cb32df9f1b90126abd implements a dummy .silence

8 years agoSound-soc: msm: implement .silence prototypes
Denis 'GNUtoo' Carikli [Thu, 18 Feb 2010 13:58:13 +0000 (14:58 +0100)]
Sound-soc: msm: implement .silence prototypes

Without the silence prototypes:
 int snd_pcm_format_set_silence(snd_pcm_format_t format,
                                void *data, unsigned int samples)
 is called with a NULL data pointer which causes some trobble.

We return an error because the content of the function is not
  implemented yet

8 years agoApply'n GNUtoo's patch for removing led-backlight mix
David Lanzendörfer [Sun, 14 Feb 2010 19:26:19 +0000 (20:26 +0100)]
Apply'n GNUtoo's patch for removing led-backlight mix
and make now a really a real backlight of the lcd-backlight
node.

8 years agoFixed building for saphire and halibut
David Lanzendörfer [Sun, 14 Feb 2010 13:54:37 +0000 (14:54 +0100)]
Fixed building for saphire and halibut

8 years agoMake xf86-video-msm from codeaurora recognize the board pmem-free
David Lanzendörfer [Thu, 11 Feb 2010 19:20:32 +0000 (20:20 +0100)]
Make xf86-video-msm from codeaurora recognize the board

8 years agoModified the includes for pmem to make it build
David Lanzendörfer [Thu, 11 Feb 2010 13:17:45 +0000 (14:17 +0100)]
Modified the includes for pmem to make it build
without android_pmem

8 years agoRemoved include/linux/android_pmem.h and replaced it by
David Lanzendörfer [Thu, 11 Feb 2010 13:16:48 +0000 (14:16 +0100)]
Removed include/linux/android_pmem.h and replaced it by
the temporary dummy file mach/arm/mach-msm/include/mach/pmem.h

8 years agoAdding android pmem replacement
David Lanzendörfer [Thu, 11 Feb 2010 13:05:36 +0000 (14:05 +0100)]
Adding android pmem replacement
* Makes every android pmem function which isnt yet removed from the code becoming a dummy function
* Needs to be removed as soon as every driver is either totaly removed, replaced or cleaned up

8 years agoRemoved pmem
David Lanzendörfer [Sat, 6 Feb 2010 17:42:37 +0000 (18:42 +0100)]
Removed pmem

8 years agoAdding kgsl_drm.h
David Lanzendörfer [Thu, 4 Feb 2010 13:08:19 +0000 (14:08 +0100)]
Adding kgsl_drm.h

8 years agoFixing structs
David Lanzendörfer [Thu, 4 Feb 2010 10:12:47 +0000 (11:12 +0100)]
Fixing structs

8 years agoExtending msm_mdp.h
David Lanzendörfer [Thu, 4 Feb 2010 03:53:30 +0000 (04:53 +0100)]
Extending msm_mdp.h

8 years agoAdded missing macros from codeaurora for (hopefully finaly) enabling compilation...
David Lanzendörfer [Thu, 4 Feb 2010 00:30:19 +0000 (01:30 +0100)]
Added missing macros from codeaurora for (hopefully finaly) enabling compilation for xf86-video-msm
from codeaurora
Just copy'n and paste because to join you have to pay 1k$ but its GPL so free distribution under GPL
is allowd ;P

8 years agoAdded missing defines from codeaurora
David Lanzendörfer [Wed, 3 Feb 2010 19:31:57 +0000 (20:31 +0100)]
Added missing defines from codeaurora

8 years agoAdding missing defines from codeaurora
David Lanzendörfer [Wed, 3 Feb 2010 14:53:34 +0000 (15:53 +0100)]
Adding missing defines from codeaurora

8 years agomsm_camera, msm_v4l2 and msm_vfe7x(camera sensor): make it compile(still oops at...
Denis 'GNUtoo' Carikli [Sat, 30 Jan 2010 23:56:54 +0000 (00:56 +0100)]
msm_camera, msm_v4l2 and msm_vfe7x(camera sensor): make it compile(still oops at runtime)

msm_vfe7x.c and msm_camera lacked the linux/sched.h include so I added it
  Else it would fail to compile because TASK_NORMAL and TASK_UNINTERRUPTIBLE are
  undeclared

I also changed VID_TYPE_CAPTURE into V4L2_CAP_VIDEO_CAPTURE because:
*even if including videodev2.h was correct,it didn't resolve VID_TYPE_CAPTURE
 So I went to look at VID_TYPE_CAPTURE in videodev2.h and just before it I saw that:
  These defines are V4L1 specific and should not be used with the V4L2 API!
  They will be removed from this header in the future.
So I updated it with V4L2_CAP_VIDEO_CAPTURE because of that:
 /* Values for 'capabilities' field */
 #define V4L2_CAP_VIDEO_CAPTURE          0x00000001  /* Is a video capture device */

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
8 years agoFixing usb gadget as module
David Lanzendörfer [Sat, 30 Jan 2010 23:20:20 +0000 (00:20 +0100)]
Fixing usb gadget as module

8 years agoDepency for backlight added
David Lanzendörfer [Fri, 29 Jan 2010 23:58:28 +0000 (00:58 +0100)]
Depency for backlight added

8 years agoSynaptics patch
David Lanzendörfer [Fri, 29 Jan 2010 23:36:56 +0000 (00:36 +0100)]
Synaptics patch

8 years agoregistering backlight as REAL backlight (needs perhaps some cleanup... e.g. by GNUtoo)
David Lanzendörfer [Fri, 22 Jan 2010 18:35:57 +0000 (19:35 +0100)]
registering backlight as REAL backlight (needs perhaps some cleanup... e.g. by GNUtoo)

8 years agoPrevent LCD from crazy darkness (needs additional hacking)
David Lanzendörfer [Thu, 21 Jan 2010 01:16:52 +0000 (02:16 +0100)]
Prevent LCD from crazy darkness (needs additional hacking)

8 years agoFixed sound listing in alsamixer
David Lanzendörfer [Thu, 21 Jan 2010 01:15:33 +0000 (02:15 +0100)]
Fixed sound listing in alsamixer

8 years ago* Removed functions which are not needed anymore
David Lanzendörfer [Wed, 20 Jan 2010 02:34:37 +0000 (03:34 +0100)]
* Removed functions which are not needed anymore
* Put the device ids into an array for simpler lookup and implementation of additional switches

8 years agoFixed sound routing method
David Lanzendörfer [Wed, 20 Jan 2010 00:51:54 +0000 (01:51 +0100)]
Fixed sound routing method

8 years agoalsa-soc: msm: fixed where SNDRV_PCM_IOCTL_WRITEI_FRAMES blocked mplayer + others...
gnutoo [Sun, 17 Jan 2010 20:04:33 +0000 (21:04 +0100)]
alsa-soc: msm: fixed where SNDRV_PCM_IOCTL_WRITEI_FRAMES blocked mplayer + others minor fixes

Minor fixes:
*removed debugging
*changed frame = prtd->out + prtd->out_tail; into frame = &prtd->out[prtd->out_tail];

For more background details see the following threads in alsa-devel:
[PATCH] MSM DSP
[PATCH] Sound: MSM soc : imported alsa for the MSM from codeaurora

The fix idea was from Thingol in #alsa
So many thanks to him,I spent so much time trying to fix it and,
in 2 irc conversation he found how to fix it.
(altough my previous mails and understanding of the bug may have
helped him)

Basically for an unknown reason the alsa driver had that:
prtd->out[0].used = BUF_INVALID_LEN;
prtd->out_head = 1; /* point to second buffer on startup */
Removing it made the kernel panic.

So:
When the sound card is opened the fist buffer is assigned to
BUF_INVALID_LEN and is skipped(prtd->out_head = 1).

Then at a point alsa_send_buffer (in msm-pcm.c) is called.
But because mplayer uses a bigger buffer it goes this way:
The first run goes fine:
rc = wait_event_interruptible(the_locks.write_wait, (frame->used == 0)
|| (prtd->stopped)); is passed.
Then in "xfer = count > frame->size ? frame->size : count;",the minimum
between frame size and count is assigned to xfer.
Then in copy_from_user(frame->data, buf, xfer) the audio frame is copied
from userspace.
Then xfer is assigned to frame->used
Then "prtd->out_head ^= 1;" needs some little explanations:
There are 2 buffers prtd->out[0] and prtd->out[1]
And both out_head and out_tail can only be 0 or 1
So when prtd->out_head is 0,prtd->out_head ^= 1 changes to 1 into a 0
and vice versa.
So...prtd->out_head was 1 because it was assigned to 1 in msm_pcm_open
in msm7k-pcm.c
Now it becomes 0

Then it does that:
count -= xfer;
which doesn't zero  count it because mplayer used some big buffer size

Then it sends the data to the dsp...and doesn't exit the "while (count >
0) {" loop because count is not 0

And Finally it reaches that line a second time:
"rc = wait_event_interruptible(the_locks.write_wait, (frame->used == 0)
 || (prtd->stopped));"
 But...frame->used was, and is still BUF_INVALID_LEN so it blocks.

Now...The fix moves the alsa_audio_configure:
If the buffer was big enough,the audio was not unblocked after the
 first buffer was sent:
It worked only if the buffer was consumed imediately in
 alsa_send_buffer and didn't made it loop on count.
Now it configures the audio at the end of the loop,which
 change frame->used and makes it become something else than
 BUF_INVALID_LEN,which unblocks it correctly without making the
 driver crash or whatever

Signed-off-by: gnutoo <gnutoo@gnutoo-desktop.(none)>
8 years agoAdded additional headers to headers_install
David Lanzendörfer [Sun, 17 Jan 2010 18:39:00 +0000 (19:39 +0100)]
Added additional headers to headers_install

8 years agomsmfb: added refresh thread to support X's fbdev (disabled by default)
David Lanzendörfer [Mon, 11 Jan 2010 14:47:31 +0000 (15:47 +0100)]
msmfb: added refresh thread to support X's fbdev (disabled by default)

rebased patch from  Martijn Stolk <linuxtogo@netripper.nl>
from the original commit message:
"As the touchscreen is now interrupt based instead of polling, the screen does not get updated in a regular fashion. The refresh thread has been added to compensate for this. As it's not a very
nice solution,it is disabled by default and can be enabled at compile-time by setting CONFIG_MSM_FB_REFRESH.

Note that this refresh thread is not neccesary for Android.
"

8 years agoAlsa fix to get mplayer working
David Lanzendörfer [Sat, 9 Jan 2010 23:48:31 +0000 (00:48 +0100)]
Alsa fix to get mplayer working

8 years agofixed new lines
David Lanzendörfer [Sat, 9 Jan 2010 23:20:33 +0000 (00:20 +0100)]
fixed new lines

8 years agofixed memset oops
David Lanzendörfer [Sat, 9 Jan 2010 23:20:11 +0000 (00:20 +0100)]
fixed memset oops

8 years agofixed building of msm wifi
David Lanzendörfer [Sat, 9 Jan 2010 18:22:45 +0000 (19:22 +0100)]
fixed building of msm wifi

8 years agoadded msm wifi patch from bob copeland
David Lanzendörfer [Sat, 9 Jan 2010 18:21:02 +0000 (19:21 +0100)]
added msm wifi patch from bob copeland

8 years agomade GNU conformity modification start
David Lanzendörfer [Sat, 9 Jan 2010 17:25:05 +0000 (18:25 +0100)]
made GNU conformity modification start

8 years agomodded some stuff (new lines and restructuration for readabelidy) master
David Lanzendörfer [Fri, 8 Jan 2010 19:02:21 +0000 (20:02 +0100)]
modded some stuff (new lines and restructuration for readabelidy)

8 years agofixed building of the qdsp5 alsa driver
David Lanzendörfer [Fri, 8 Jan 2010 18:04:42 +0000 (19:04 +0100)]
fixed building of the qdsp5 alsa driver

8 years agoimported qdsp5 base functions into the alsa driver itself (needs cleanup)
David Lanzendörfer [Fri, 8 Jan 2010 17:27:13 +0000 (18:27 +0100)]
imported qdsp5 base functions into the alsa driver itself (needs cleanup)

8 years agofixed building
David Lanzendörfer [Mon, 4 Jan 2010 21:02:35 +0000 (22:02 +0100)]
fixed building

8 years agoadded starting driver
David Lanzendörfer [Mon, 4 Jan 2010 09:07:59 +0000 (10:07 +0100)]
added starting driver

8 years agoFixed building of ethernet gadget for use as module and use as static built-in
David Lanzendörfer [Tue, 22 Dec 2009 12:07:58 +0000 (13:07 +0100)]
Fixed building of ethernet gadget for use as module and use as static built-in

8 years agofixed usb gadget driver
David Lanzendörfer [Mon, 14 Dec 2009 17:51:04 +0000 (18:51 +0100)]
fixed usb gadget driver

8 years agofixed oops on bootup
David Lanzendörfer [Mon, 14 Dec 2009 17:50:48 +0000 (18:50 +0100)]
fixed oops on bootup

8 years agochanged something
David Lanzendörfer [Mon, 14 Dec 2009 17:50:27 +0000 (18:50 +0100)]
changed something

8 years agosysfs: Fix sysfs owner and group.
Arve Hjønnevåg [Thu, 17 Dec 2009 05:15:49 +0000 (21:15 -0800)]
sysfs: Fix sysfs owner and group.

First call to sysfs_setattr ignored the requested owner and group.

Change-Id: I8343f818c65c54f6dbb55533cd34b31eeba5b554
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agomsm_serial_hs: fix lockup on 2.6.32
Arve Hjønnevåg [Thu, 17 Dec 2009 05:15:07 +0000 (21:15 -0800)]
msm_serial_hs: fix lockup on 2.6.32

Change-Id: I38cc48fea1e5876b68f43194f505461373682602

8 years agorfkill: Introduce CONFIG_RFKILL_PM and use instead of CONFIG_PM to power down
Nick Pelly [Fri, 5 Dec 2008 01:37:05 +0000 (17:37 -0800)]
rfkill: Introduce CONFIG_RFKILL_PM and use instead of CONFIG_PM to power down

Some platforms do not want to power down rfkill devices on suspend.

Change-Id: I62a11630521c636d54a4a02ab9037a43435925f5
Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: sdcc: Make slot status irq be a resource
Dima Zavin [Sat, 23 May 2009 03:21:50 +0000 (20:21 -0700)]
[ARM] msm: sdcc: Make slot status irq be a resource

Also, convert all SDCC IRQ resources to be named. No longer pass status_irq
in the platform_data

Change-Id: I0a53fd544742191ebf6fd14c9b5feac154a11371
Signed-off-by: Dima Zavin <dima@android.com>
8 years ago[ARM] msm_fb: Fix framebuffer console
Arve Hjønnevåg [Tue, 15 Dec 2009 06:20:03 +0000 (22:20 -0800)]
[ARM] msm_fb: Fix framebuffer console

Don't allow non panning updates to bypass the wait for the panel to turn on.

Change-Id: I32eedf37dd1b0d34cdcad782027b635e5c65f691

8 years agoconsoleearlysuspend: Fix for 2.6.32
Arve Hjønnevåg [Tue, 15 Dec 2009 06:14:52 +0000 (22:14 -0800)]
consoleearlysuspend: Fix for 2.6.32

vt_waitactive now needs a 1 based console number

Change-Id: I07ab9a3773c93d67c09d928c8d5494ce823ffa2e

8 years agomsm_serial_debugger: fix to build without CONFIG_PREEMPT
Arve Hjønnevåg [Tue, 15 Dec 2009 04:36:23 +0000 (20:36 -0800)]
msm_serial_debugger: fix to build without CONFIG_PREEMPT

Change-Id: I71e115a26142cccd809aa979dfa9541f842ae680

8 years agokeychord: fix to build without CONFIG_PREEMPT
Arve Hjønnevåg [Tue, 15 Dec 2009 04:27:04 +0000 (20:27 -0800)]
keychord: fix to build without CONFIG_PREEMPT

Change-Id: I911f13aeda4224b6fa57863bc7e8972fec8837fb

8 years agomt9t013: fix to build on 2.6.32
Arve Hjønnevåg [Tue, 15 Dec 2009 04:21:44 +0000 (20:21 -0800)]
mt9t013: fix to build on 2.6.32

Change-Id: I42dfb9f0f92a626510b6f5c186ee613ce79578c9

8 years agosched: Fix task priority bug
Peter Zijlstra [Fri, 4 Dec 2009 08:59:02 +0000 (09:59 +0100)]
sched: Fix task priority bug

83f9ac removed a call to effective_prio() in wake_up_new_task(), which
leads to tasks running at MAX_PRIO.

This is caused by the idle thread being set to MAX_PRIO before forking
off init. O(1) used that to make sure idle was always preempted, CFS
uses check_preempt_curr_idle() for that so we can savely remove this bit
of legacy code.

Reported-by: Mike Galbraith <efault@gmx.de>
Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1259754383.4003.610.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
8 years agoRevert "Revert "sched: Set correct normal_prio and prio values in sched_fork()""
Arve Hjønnevåg [Tue, 15 Dec 2009 04:06:56 +0000 (20:06 -0800)]
Revert "Revert "sched: Set correct normal_prio and prio values in sched_fork()""

This reverts commit 8bf14ef1d2bb205e11e00e1aa05eb80aa43f9243.

8 years ago[ARM] msm: acpuclock: Fix cpu ramp down and up around power collapse.
Arve Hjønnevåg [Sat, 12 Dec 2009 05:16:18 +0000 (21:16 -0800)]
[ARM] msm: acpuclock: Fix cpu ramp down and up around power collapse.

Change-Id: I2e43df297489ed5a4d533beb0a92713d21864df8
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: timer: Fix sleep duration from idle.
Arve Hjønnevåg [Sat, 5 Dec 2009 06:53:27 +0000 (22:53 -0800)]
[ARM] msm: timer: Fix sleep duration from idle.

Don't read TIMER_MATCH_VAL. This register may return an old value which
would cause the calculated sleep duration to be wrong.

Change-Id: Iaf079b28b47a677d485135912aa8b66b183cacf4
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agoRevert "sched: Set correct normal_prio and prio values in sched_fork()"
Arve Hjønnevåg [Fri, 11 Dec 2009 07:24:34 +0000 (23:24 -0800)]
Revert "sched: Set correct normal_prio and prio values in sched_fork()"

This reverts commit f83f9ac2632732bd1678150b5a03d152f912fe72.

8 years agoserial debug fixes
Arve Hjønnevåg [Fri, 11 Dec 2009 06:04:27 +0000 (22:04 -0800)]
serial debug fixes

Change-Id: If15c0d0aedbf8ad443bb9c8d2dd47b109d593eb2

8 years agomsm_fb: fix for 2.6.32.
Arve Hjønnevåg [Fri, 11 Dec 2009 02:40:19 +0000 (18:40 -0800)]
msm_fb: fix for 2.6.32.

Change-Id: I5e8a2ef7d0f7a86883e0f77c7e68251b2a3c4584

8 years agomsm_serial_debugger: fix for 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:36:58 +0000 (17:36 -0800)]
msm_serial_debugger: fix for 2.6.32

Change-Id: I3c512234519f7a0d9f8bcb5718bef1fc2c446884

8 years agoboard-sapphire-rfkill: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:36:30 +0000 (17:36 -0800)]
board-sapphire-rfkill: fix to build on 2.6.32

Change-Id: I6ed063945b0461292aa784788a7e879db9e2e922

8 years agofunction/mass_storage: Fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:22:47 +0000 (17:22 -0800)]
function/mass_storage: Fix to build on 2.6.32

Change-Id: If78296c2e464d4a70045fb676427f3f508fa7da6

8 years agomsm_serial_hs: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:13:01 +0000 (17:13 -0800)]
msm_serial_hs: fix to build on 2.6.32

Change-Id: I4c2555eb7cb9a333a2d85136afe6292f7db9b9f6

8 years agomsm_serial: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:06:42 +0000 (17:06 -0800)]
msm_serial: fix to build on 2.6.32

Change-Id: Ib97cd6d7e127573ebf4eae7f2a4a215e03dcb74f

8 years agomsm_rmnet: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:03:42 +0000 (17:03 -0800)]
msm_rmnet: fix to build on 2.6.32

Change-Id: Ic6a4903dd12ea83723354d00f639ae2f9375167f

8 years agopca963x: build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 00:54:05 +0000 (16:54 -0800)]
pca963x: build on 2.6.32

Change-Id: I89ff2705f8bd2de6eba90ef25928d81febfbc6c7

8 years agoakm8976: build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 00:53:46 +0000 (16:53 -0800)]
akm8976: build on 2.6.32

Change-Id: Iff5e3753fe770984198231b640190cc8e423010e

8 years agohci_ll.c: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 00:50:38 +0000 (16:50 -0800)]
hci_ll.c: fix to build on 2.6.32

Change-Id: I0b394dab02500c76ea8a1429747bd23616a39c52

8 years agohtc_pwrsink: Fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 00:46:29 +0000 (16:46 -0800)]
htc_pwrsink: Fix to build on 2.6.32

Change-Id: I80f71adde17b3a1a99e91055c947a419ab71ba1f

8 years agoakm8976: disable_irq -> disable_irq_nosync
Arve Hjønnevåg [Sat, 18 Apr 2009 01:24:07 +0000 (18:24 -0700)]
akm8976: disable_irq -> disable_irq_nosync

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agoInput: gpio_input: disable_irq -> disable_irq_nosync
Arve Hjønnevåg [Sat, 18 Apr 2009 01:24:59 +0000 (18:24 -0700)]
Input: gpio_input: disable_irq -> disable_irq_nosync

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: mdp: disable_irq -> disable_irq_nosync
Arve Hjønnevåg [Sat, 18 Apr 2009 01:26:51 +0000 (18:26 -0700)]
[ARM] msm: mdp: disable_irq -> disable_irq_nosync

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: dma: disable_irq -> disable_irq_nosync
Arve Hjønnevåg [Sat, 18 Apr 2009 01:21:34 +0000 (18:21 -0700)]
[ARM] msm: dma: disable_irq -> disable_irq_nosync

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: trout: Pass wakeup irq to serial debugger
Arve Hjønnevåg [Thu, 10 Dec 2009 08:03:36 +0000 (00:03 -0800)]
[ARM] msm: trout: Pass wakeup irq to serial debugger

Change-Id: I695226bbd595d35ed6f9e29f09d13741c345de76