qcom: grant access to /dev/diag to mediaserver

Change-Id: I645631d6046267b4aee544f331a037087110098b
mkbootimg: support pagesizes up to 16384

Change-Id: Idd6ff27e14eac8b98728f5f9a8e8fa87e6c8e23b
Merge "qcom: grant access to /dev/diag to mediaserver" into jellybean
FM Radio: Add support for FM Radio in Android

Creating interface and framework for using FM Radio
RX and TX from different vendors.

Change-Id: I19df764d242a18198618614b6486d4b3ee36396b
Signed-off-by: Benn Porscke <benn.porscke@stericsson.com>
add 32K 64K and 128K pagesizes in bootimage

Change-Id: I4bc74ad6b0a473de68c906422bcd7eac00c89793
Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
libsuspend: Correctly handle errors initializing autosuspend, to avoid exceptions later on

When calling autosuspend_enable for the first time, it calls autosuspend_init(). If this is
not the first time, autosuspend_inited should be true and it only returns success. If not,
it initializes the autosuspend method to use. However, regardless of successful completion or
not, it sets autosuspend_inited to true. This causes that further calls to autosuspend_enable
cause an exception if there was an error initializing because autosuspend_ops is invalid.

This change causes autosuspend_inited to only be set to true when initialization is
successful. Further calls to autosuspend_enable will not do anything, as initialization will
probably fail again, but won't crash.

Note that the underlying cause of this is a missing feature on the kernel (either earlysuspend,
autosleep, or wakeup_count) that should be present, but a crash in unacceptable neverless.
 u8500: add ST Ericsson audio configs

to enable add STE_AUDIO

ported from commit 3edcf52fccf2ca946a19de43187edc8d710c451d

Change-Id: I2a9e21f839599548387d72ae91cf69f83275c4d9
Adding required ST-Ericsson changes to graphics.h

Pixel formats have been added to graphics.h (they used to be in
hardware.h). One is ST-Ericsson specific and the rest are just
added since they were there in GB.

Change-Id: Ib180a29a1fb0a57bae478dc9a3ba6607fa8cab23
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/70894
Signed-off-by: Alin Jerpelea <jerpelea@gmail.com>
Merge branch 'jellybean' of https://github.com/CyanogenMod/android_system_core into jellybean-cm

Conflicts:
	include/system/audio.h