Arve Hjønnevåg
497c8019d7
Allow CONFIG_STACKTRACE to be enabled by itself.
...
This allows us to get a kernel stacktrace for a thread though /proc.
Also enable it by default.
Change-Id: If8c21cd02feaf9863f4841ace524fa30c7328d49
Signed-off-by: Arve Hjønnevåg <arve@android.com >
2010-10-04 12:08:02 -07:00
Dmitry Shmidt
7e39a212ce
net: wireless: bcm4329: Fix setting HT clock race conditions
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-10-04 12:08:01 -07:00
Benoit Goby
461a510e68
usb: gadget: android: Remove WAKEUP flag from bmAttributes
...
Remove USB_CONFIG_ATT_WAKEUP from bmAttributes as we don't
support remote wakeup. This fixes an issue with the USB 2.0
compliance test tool.
Change-Id: Ic15e44710069f3f05ace6a82bbfa2b85a3649027
Signed-off-by: Benoit Goby <benoit@android.com >
2010-09-29 17:49:49 -07:00
Bjorn Bringert
602e23bda6
Support lseek(2) in ashmem driver
...
Signed-off-by: Bjorn Bringert <bringert@android.com >
Change-Id: I509d18b21832e229737ea7ebaa231fb107eb61d7
2010-09-29 17:49:49 -07:00
Dmitry Shmidt
16ced7c46c
l2tp: l2tp_eth: Fix section mismatch warning
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:49 -07:00
Dmitry Shmidt
a858d75563
net: wireless: bcm4329: Fix interrupt enabling in case of error
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:49 -07:00
Greg Goldman
145537d0b1
net: wireless: bcm4329: Update to Version 4.218.248.6
...
Fix watchdog time rescheduling, fix first scan no-return
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:48 -07:00
Greg Goldman
b5fae8c868
net: wireless: bcm4329: Enable packet filtering during low power mode
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:48 -07:00
Greg Goldman
c0c3b53450
net: wireless: bcm4329: Ignore error if scan results are empty
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:48 -07:00
Dmitry Shmidt
186632a111
net: wireless: bcm4329: Add debug print for cscan failure
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:48 -07:00
Dmitry Shmidt
318b690af4
net: wireless: bcm4329: Fix roaming setting on resume
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:48 -07:00
Gary King
f0b0e4bec1
mmc: subtract boot sectors from disk size for eMMC 4.3+ devices
...
the csd sector count reported by eMMC 4.3+ cards includes the boot
partition size; subtract this from the size reported to the disk
since the boot partition is inaccessible
Change-Id: I601b83aa0159b7aa446409ea8c945b256dd0b5b1
Signed-off-by: Gary King <gking@nvidia.com >
2010-09-29 17:49:48 -07:00
Colin Cross
057ac3a83f
mmc_block: Allow more than 8 partitions per card
...
Set the GENHD_FL_EXT_DEVT flag, which will allocate minor numbers
in major 259 for partitions past disk->minors.
Also remove the use of disk_devt to determine devidx from md->disk.
md->disk->first_minor is always initialized from devidx and can
always be used to recover it.
Signed-off-by: Colin Cross <ccross@android.com >
2010-09-29 17:49:47 -07:00
Todd Poynor
315d5003ed
EFI/GPT: Register named partitions.
...
Change-Id: If318512de67d3d152192aa66b074427f4e5b5c2e
Signed-off-by: Todd Poynor <toddpoynor@google.com >
2010-09-29 17:49:47 -07:00
Colin Cross
4cc08cf96b
fs: partitions: Add support for named partitions
...
Adds a new file in /sys/block/<block>/<partition> called partition_name
that contains the name of the partition, if specified by the partition
handler.
Change-Id: I6648ed95eabefd1d00edbfdfd99eeb971d15f4b3
Signed-off-by: Colin Cross <ccross@android.com >
2010-09-29 17:49:47 -07:00
Greg Goldman
ba58353286
net: wireless: bcm4329: Fix roaming failure case
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:47 -07:00
Colin Cross
3d46a3cb10
PM: Prevent waiting forever on asynchronous resume after abort
...
Only wait on a parent device during resume if the parent device is
suspended.
Consider three drivers, A, B, and C. The parent of A is C, and C
has async_suspend set. On boot, C->power.completion is initialized
to 0.
During the first suspend:
suspend_devices_and_enter(...)
dpm_resume(...)
device_suspend(A)
device_suspend(B) returns error, aborts suspend
dpm_resume_end(...)
dpm_resume(...)
device_resume(A)
dpm_wait(A->parent == C)
wait_for_completion(C->power.completion)
The wait_for_completion will never complete, because
complete_all(C->power.completion) will only be called from
device_suspend(C) or device_resume(C), neither of which is called
if suspend is aborted before C.
After a successful suspend->resume cycle, where B doesn't abort
suspend, C->power.completion is left in the completed state by the
call to device_resume(C), and the same call path will work if B
aborts suspend.
Signed-off-by: Colin Cross <ccross@android.com >
2010-09-29 17:49:47 -07:00
Erik Gilling
43e1b91e2f
power: wakelock: call __get_wall_to_monotonic() instead of using wall_to_monotonic
...
Change-Id: I9e9c3b923bf9a22ffd48f80a72050289496e57d8
2010-09-29 17:49:47 -07:00
Dmitry Shmidt
edf0c3e535
net: Fix CONFIG_RPS option to be turned off
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:46 -07:00
Dmitry Shmidt
18f98d725e
net: wireless: bcm4329: Fix HW_OOB interrupt processing
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:46 -07:00
Rebecca Schultz Zavin
b4a89b9b9a
Revert "net: wireless: bcm4329: Fix HW_OOB interrupt processing"
...
This reverts commit 8bd035daa820dc5612ae311262c71dc133871046.
2010-09-29 17:49:46 -07:00
Rebecca Schultz Zavin
b8fc65dc90
Revert "net: wireless: bcm4329: Fix interrupt enabling for level interrupt"
...
This reverts commit 261d21bbfffef6261696d0d13672d2e4f9d76f05.
2010-09-29 17:49:46 -07:00
Dmitry Shmidt
d0a7955ffa
net: wireless: bcm4329: Fix interrupt enabling for level interrupt
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:46 -07:00
Dmitry Shmidt
be801727f0
net: wireless: bcm4329: Fix HW_OOB interrupt processing
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:46 -07:00
Mike Lockwood
399bd7a333
USB: gadget: android: Disable MTP when RNDIS function is enabled.
...
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-09-29 17:49:45 -07:00
Greg Goldman
f81a97ad60
net: wireless: bcm4329: Update to Version 4.218.248
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:45 -07:00
Colin Cross
eb31fe8d3c
wakelock: Fix operator precedence bug
...
Change-Id: I21366ace371d1b8f4684ddbe4ea8d555a926ac21
Signed-off-by: Colin Cross <ccross@google.com >
2010-09-29 17:49:45 -07:00
Colin Cross
43d0a32b39
ashmem: Update arguments of shrinker for 2.6.35
...
Change-Id: Ie527d18f3352ede06d565826c8d35ded1638203a
Signed-off-by: Colin Cross <ccross@google.com >
2010-09-29 17:49:45 -07:00
Colin Cross
e18365ec30
lowmemorykiller: Update arguments of shrinker for 2.6.35
...
Change-Id: I6bb09b36639527f91c48704118acad5e50c4163f
Signed-off-by: Colin Cross <ccross@google.com >
2010-09-29 17:49:45 -07:00
Dmitry Shmidt
70eeb9a8f2
net: wireless: bcm4329: Send "HANG" message only once
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:45 -07:00
Jamie Gennis
2d799633c9
Allow multiple pmem master mmap()s.
...
Signed-off-by: Jamie Gennis <jgennis@google.com >
Change-Id: Icbe619c92e0ebb391f0a93f81937705452a67d87
2010-09-29 17:49:44 -07:00
Howard Harte
ec623f1655
net: wireless: bcm4329: Disable packet filtering
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:44 -07:00
Dmitry Shmidt
4048669447
net: wireless: bcm4329: Turn OFF packet filtering during DHCP session
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:44 -07:00
Dmitry Shmidt
04326661cc
net: wireless: bcm4329: Increase PMU_MAX_TRANSITION_DLY to 1 sec
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:44 -07:00
Dmitry Shmidt
f2a4bf82ad
net: wireless: bcm4329: Fix "setsuspend" behavior
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:44 -07:00
Dmitry Shmidt
73d6c2a868
net: wireless: bcm4329: Add memory barriers to wait functions
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:43 -07:00
Dmitry Shmidt
493833c3cf
net: wireless: bcm4329: Fix unregister_early_suspend() in dhd_detach()
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:43 -07:00
Greg Goldman
3a36e1fb80
net: wireless: bcm4329: Fix dhd_bus_watchdog() race conditions
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:43 -07:00
Greg Goldman
95f265ce59
net: wireless: bcm4329: Fix scan timeout for abg case
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:43 -07:00
Greg Goldman
6785d406dc
net: wireless: bcm4329: Force scan when driver is loaded
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:43 -07:00
Dmitry Shmidt
5aba5f0f78
net: wireless: bcm4329: Add wakelock processing to WEXT requests
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:43 -07:00
Greg Goldman
c97fa2daa8
net: wireless: bcm4329: Update to Version 4.218.246 and setband fix
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:42 -07:00
Howard Harte
d3bf457b29
net: wireless: bcm4329: Update to 4.218.245 (combo scan)
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:42 -07:00
Mike Lockwood
b4ff5d8efe
USB: g_mass_storage: Always allow disabling mass storage by writing to lun file
...
For android builds we disable the check for curlun->prevent_medium_removal.
Instead we let the framework manage unmounting policy, as we sometimes need
to unmount after the media has been removed.
This also helps support hosts that do not inform the device when the media
has been unmounted.
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-09-29 17:49:42 -07:00
Arve Hjønnevåg
88af8fe00c
yaffs: Use init_timer_on_stack for timer on stack
...
Change-Id: I517b94a1ca22c1690fd6421cf9892a05039a3def
Signed-off-by: Arve Hjønnevåg <arve@android.com >
2010-09-29 17:49:42 -07:00
Dima Zavin
b5a327cd78
input: gpio_event: make driver be more robust against incorrectly configured lvl trigger irqs
...
Change-Id: Ie378600668500dcffeaaddeaba3628e5c2141aa4
Signed-off-by: Dima Zavin <dima@android.com >
2010-09-29 17:49:42 -07:00
Arve Hjønnevåg
77598e8316
Input: gpio_event: Don't call gpio_cansleep before gpio_request.
...
If the gpio did not exist it would crash in gpiolib.
Signed-off-by: Arve Hjønnevåg <arve@android.com >
2010-09-29 17:49:41 -07:00
Dmitry Shmidt
325c547f8b
net: wireless: bcm4329: Add wakelock processing in ioctl and messaging
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:41 -07:00
Howard Harte
29b41d7cc4
net: wireless: bcm4329: Fix packet filter to only filter out non-unicast frames
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-29 17:49:41 -07:00
Arve Hjønnevåg
a231637f32
ashmem: Fix ASHMEM_SET_PROT_MASK.
...
Change-Id: I1412cc9560de8c4feb1162fc30922f0e3362a476
Signed-off-by: Arve Hjønnevåg <arve@android.com >
2010-09-29 17:49:41 -07:00