drivers: exynos: fimc-is-mc2: fix firmware version print

last character of version string is changed from end of file to end of string

bug : 7250427

Change-Id: I974a4dee4d0aa256e1330fc1a46ef4639d2ccf45
Signed-off-by: Kilyeon Im <kilyeon.im@samsung.com>
drivers: exynos: fimc-is-mc2: fix dzoom bug and performance up

1. dzoom bug fix, 4 times zoom was applied to 3.5 times zoom actually.
2 times zoom was applied always after 4 times zoom.
2. dzoom performance up
3. driver version : 111

bug : 7256917

Change-Id: I83d4dca13b4038b4293a67a78d9f1ed7b6cda5a7
Signed-off-by: Kilyeon Im <kilyeon.im@samsung.com>
drivers: exynos: fimc-is-mc2: applying stride to scalerp

32 aligned stride is applied to sclaerp

bug : 7225357

Change-Id: Iab570ee8d213c1cafd16893bb6f5fa5d193bbf0e
Signed-off-by: Kilyeon Im <kilyeon.im@samsung.com>
drivers: exynos: fimc-is-mc2: re-license fimc-is-metadata.h

re-license fimc-is-metadata.h header file to be dual license GPL BSD

bug : 7240308

Change-Id: I978f0e7929f623ab434afca7810779e82cc84599
Signed-off-by: Kilyeon Im <kilyeon.im@samsung.com>
video: s3c-fb: enforce minimum window width

Windows narrower than the DMA burst length (128 bytes) may wedge the
FIMD.

Bug: 7257993
Change-Id: I34b7e6e959296564663af2adf9546ec3df38b406
Signed-off-by: Greg Hackmann <ghackmann@google.com>
net: wireless: bcmdhd: cfg80211 fixes

- Add wl_cfg80211_40MHz_to_20MHz_Channel() processing
- Add mac address information of the ap for debugging
  disconnection or roaming problem in wl_notify_connect_status
- Fix hidden AP connection failure from cfg80211 WARNING
  in static s32 wl_update_bss_info()

Change-Id: Ibafc2b766d0515c21abbba3bdfab68ff4acbebad
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Merge branch 'android-3.4' into android-exynos-3.4
gpu: t6xx: Add separate cache flags for CPU and GPU

The w39 release removed the HINT bits which previously was by the
kernel to enable GPU side caches.
w39 instead introduced BASE_MEM_CACHED to turn on both options.

This patch splits the BASE_MEM_CACHED flag into
BASE_MEM_CACHED_CPU and BASE_MEM_CACHED_GPU to give the driver
better control.

Bug: 7253838
Change-Id: I2e5f9e6657b4a322288174dde6391c9579fdc8f5
Signed-off-by: Erik Gilling <konkers@android.com>
gpu: t6xx: Print when watchdog timer recovers the GPU

Adds printing of a message when the GPU had to be
reset after the watchdog discovered that a context
is stuck on the GPU.

Bug: 7254031
Change-Id: I42e46269f7200af9bfd1ff0ec94b222ad1925acf
Signed-off-by: Erik Gilling <konkers@android.com>
gpu: t6xx: Per-context kernel-side memory free-list.

Zeroing of memory have proven to be slowing down some parts
of the GPU driver. To avoid zeroing of memory without
leaking information from either the kernel or from other
contexts, a per-context free-list is needed.

This patch removes a lot of code needed to support multiple
allocators, which were only needed if multiple source for
memory was availble. As this is not the case on any customer
board seen, it is best to remove this indirection.

Having removed the indirection a new memory allocator was
written which uses a free list to avoid zeroing memory.

Conflicts:
	drivers/gpu/arm/t6xx/kbase/mali_base_kernel.h

Bug: 7238983
Change-Id: I08d74eb0bc580d93469e424154840e255cf18056
Signed-off-by: Erik Gilling <konkers@android.com>
ASoC: SAMSUNG: Add runtim PM for spdif driver.

This patch adds runtime PM to control clock using runtime PM.

Change-Id: I34198bd4041e1507df8fb15f22a19d089ce56cf6
Signed-off-by: LakKyung Jung <lakkyung.jung@samsung.com>
ASoC: SAMSUNG: Add condition about suspend/resume of spdif driver.

This patch adds condition to consider whether the suspend/resume
is called or not on pcm is opened. If the suspend/resume is called
on pcm is opened, need to save/restore register and to turn on/off
clock.

Change-Id: Ia36016d51720b85985031529d2166576d431cd1d
Signed-off-by: LakKyung Jung <lakkyung.jung@samsung.com>
ARM: EXYNOS: pmu: Add to turn off the ISP_ARM power

The ISP_ARM(cortex-a5) is just for the camera.
If do not used the camera, it should be turn off the power.

Change-Id: I91a00813e0243ac21081562b2daaaa9212302a57
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
media: exynos-tv: Add the hdmiphy power off in suspend callback

This patch prevent LCD flickering if LCD uses eDP interface.
The hdmiphy power should be turn off before enter sleep.
And add the error handling in resume callback.

Change-Id: I83ffd7902a5d52dbc19943dbe70fd45f5d85ce20
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
video: s3c-fb: change a sequence of backlight off

lcd on : fb -> dp -> lcd -> backlight on
lcd off : fb -> dp -> lcd -> backlight off
If fb is off before backlight, sometimes garbage date should
be displayed. So sequence have to be changed like it.
lcd off : backlight off -> lcd -> fb -> dp

Bug: 7185117

Change-Id: I7dd1783cd69155ea3c928aead2936ab4954aefc0
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
ARM: EXYNOS: smdk5250: Change the position of backlight and lcd functions

This patch change the position of backlight on/off and lcd on/off
functions.

Bug: 7185117

Change-Id: Ie99466a054565153df7da78f37f78278725eafc6
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
gpu: t6xx: fix compile error when disabling DVFS

Bug: 7266594
Change-Id: I8884e6a9e0f14e5aaaa749315d191b8002ba1a4d
Signed-off-by: Seho Kim <sh1645.kim@samsung.com>
gpu: t6xx: fix lockdep warning

Use spin_lock_irqsave/spin_unlock_irqrestore instead of
spin_lock/spin_unlock to avoid deadlock.

Bug: 7248405
Change-Id: Id7e6dd1b12192ac1d3dddcff0b5e40c6df45bbbd
Signed-off-by: Seho Kim <sh1645.kim@samsung.com>
media: exynos-tv: Request min mif bus freq when mixer is streaming

Otherwise s3c fb fifo underruns can be seen when we use the mixer
graphic layers.

Change-Id: I2d376bc01185eccbb2009e5b9817658f2f5257a2
Signed-off-by: Benoit Goby <benoit@android.com>
media: exynos-tv: mixer: Wait for acquire fences

Change-Id: I542ab3c50f7b17df4d32873a08c04a2f0cf98327
Signed-off-by: Benoit Goby <benoit@android.com>