tmp_suning_uos_patched/arch/arm/mach-msm/include/mach
Stephen Boyd 73a8c28f16 ARM: msm: Fix uncompess.h tx underrun check
Bit 3 of the SR register is set if there is a tx underrun. If
this bit isn't set, we should loop on the tx ready bit until we
can transmit again. Otherwise we should skip the loop and
transmit immediately. The code is doing the opposite though,
checking for an underrun and then looping on the tx ready bit
causing us to never loop on the tx read bit when the tx buffer
may not be ready.

This doesn't seem to affect my 8960 device too often, but in some
cases I see a lost character or two from the decompressor prints.
This also matches what we do in the assembly in debug-macro.S.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
2013-04-11 09:40:35 -07:00
..
board.h Merge branch 'multiplatform/platform-data' into next/multiplatform 2012-09-22 01:07:21 -07:00
clk.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
cpu.h msm: Add MSM 8960 cpu_is check 2011-01-21 15:27:53 -08:00
debug-macro.S ARM: msm: Drop useless teq from DEBUG_LL support 2012-05-11 11:08:34 -07:00
dma.h
entry-macro.S ARM: remove disable_fiq and arch_ret_to_user macros 2012-02-21 17:05:18 -06:00
hardware.h
iommu_hw-8xxx.h msm: iommu: Don't read from write-only registers 2011-03-08 14:42:30 -08:00
iommu.h msm: iommu: Remove dependency on IDR 2011-03-08 14:40:59 -08:00
irqs-7x30.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
irqs-7x00.h
irqs-8x50.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
irqs-8x60.h
irqs-8960.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
irqs.h msm: irqs-8960: Interrupt map for MSM8960 2011-01-21 15:27:52 -08:00
msm_gpiomux.h msm: gpiomux: Move public API to public header 2011-08-01 04:58:00 -07:00
msm_iomap-7x30.h ARM: msm: Move io mapping prototypes to common.h 2012-09-13 11:16:26 -07:00
msm_iomap-7x00.h ARM: msm: Move io mapping prototypes to common.h 2012-09-13 11:16:26 -07:00
msm_iomap-8x50.h ARM: msm: Move io mapping prototypes to common.h 2012-09-13 11:16:26 -07:00
msm_iomap-8x60.h ARM: soc: board specific updates 2012-10-01 18:48:30 -07:00
msm_iomap-8960.h These patches migrate both the 8660 and 8960 targets on msm to be 2012-09-16 18:03:50 -07:00
msm_iomap.h ARM: msm: Allow msm_iomap-8x60 and msm_iomap-8960 to coexist 2012-09-13 11:17:41 -07:00
msm_smd.h
sirc.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
timex.h
uncompress.h ARM: msm: Fix uncompess.h tx underrun check 2013-04-11 09:40:35 -07:00
vreg.h