aries | p1: config: add synchronization framework support

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I825ba2d7ed65523225c25b138867071359797bde
lz4: fix another possible overrun

There is one other possible overrun in the lz4 code as implemented by
Linux at this point in time (which differs from the upstream lz4
codebase, but will get synced at in a future kernel release.)  As
pointed out by Don, we also need to check the overflow in the data
itself.

While we are at it, replace the odd error return value with just a
"simple" -1 value as the return value is never used for anything other
than a basic "did this work or not" check.

Reported-by: "Don A. Bailey" <donb@securitymouse.com>
Reported-by: Willy Tarreau <w@1wt.eu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Humberto Borba <humberos@gmail.com>

Change-Id: Ifaaae48b8c1fa3aec5280546edb7673830ed067b
aries | p1: implements ion memory alloc for s5pv210

fix ion memory alloc for s5pv210 arm arch
on 3.0.y kernel level

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I280697bc6ca3ee9a401c08943b3e2c3f605888a6
Merge "aries | p1: config: add synchronization framework support" into android-4.4
Merge "aries | p1: implements ion memory alloc for s5pv210" into android-4.4
aries | p1: config: enable ION and ION_S5PV210

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I47d780851539c7f3f04c14f53bd1e5c446d09cac
net: wireless: Increase scan entry expiration to fit new scan time

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Humberto Borba <humberos@gmail.com>

Change-Id: I0e23ce45d78d7c17633670973f49943a5ed6032d
usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP) for acc_write

Accessory connected to Android Device requires
Zero Length Packet (ZLP) to be written when data
transferred out from the Android device are multiples
of wMaxPacketSize (64bytes (Full-Speed) / 512bytes (High-Speed))
to end the transfer.

Signed-off-by: Anson Jacob <ansonkuzhumbil@gmail.com>
Signed-off-by: Humberto Borba <humberos@gmail.com>

Change-Id: Ib2c2c0ab98ef9afa10e74a720142deca5c0ed476
p1: config: respect sec_jack config

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ib1f1157ab292828f9289c5fea3d49c4f7da492ce
p1: drivers: power: write i2c regs directly to pmic

also, change kernel debug messages to kernel info

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I3b8b61782c54946472dcca55705e80e5bb905b3e
p1: drivers: power: force charging status if usb cable is connected

although the usb cable will be recognized during charging process
but it won't get power supply enought from computer if the tab screen
is on for at least 6 minutes.

the main reason of this patch is the system notification
for charging process from usb cable type.

the improper TA cable will not get charging status as
it is for default reason.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I1ab0850cbfdfcdf81546e857528c385794fa8203
aries | p1: arm: arch: s5pc110: improved@oc

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I3dbdb2daa46e7a3f6a1aaa923a9c20b772f959ec
Merge "p1: drivers: power: force charging status if usb cable is connected" into android-4.4
aries | p1: drivers: mfc: fix gcc warnings

/android/omni/kernel/samsung/aries/drivers/media/video/samsung/mfc50/mfc.c: In function 'mfc_open':
/android/omni/kernel/samsung/aries/drivers/media/video/samsung/mfc50/mfc.c:94:21: warning: comparison between 'enum mfc_error_code' and 'enum <anonymous>' [-Wenum-compare]
/android/omni/kernel/samsung/aries/drivers/media/video/samsung/mfc50/mfc.c: In function 'mfc_probe':
/android/omni/kernel/samsung/aries/drivers/media/video/samsung/mfc50/mfc.c:692:2: warning: passing argument 2 of '__release_region' makes integer from pointer without a cast [enabled by default]
In file included from /android/omni/kernel/samsung/aries/include/linux/device.h:16:0,
                 from /android/omni/kernel/samsung/aries/include/linux/platform_device.h:14,
                 from /android/omni/kernel/samsung/aries/drivers/media/video/samsung/mfc50/mfc.c:35:
/android/omni/kernel/samsung/aries/include/linux/ioport.h:167:13: note: expected 'resource_size_t' but argument is of type 'struct resource *'

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ic02f3dd764a17cf36d747a7e797604bc2ce34b17
p1: drivers: power: bring back pmic regs updating process

it reverts partially: f84de6cf078276a8f71006f89e1c94b596313095

definitely it is not a good choice to write i2c directly.
the device was very slow after some time of use.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I86575c48ca5114926ec4c0383d80d630ae486914
p1ln: config: disable nm6xx video driver

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I017739b40a0b4a3cad48384849a5f6d2b3fbe31f
p1ln: config: disable tsi video driver

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I5a5352864c9815c3bc486bb4384582c5e617ae7e
Merge remote-tracking branch 'Omni/android-4.4' into HEAD