PD#150879: if continuous-clock is configed, the audio clock don't
gate off when there is audio stream. Also, this commit could simply
set the same MPLL source to make PDM-in and TDM-out work synchronously.
Change-Id: Iac488b4d4813f758f0bc1ebd8bb5f35f9a8dfff1
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#151361: Oops when doing OTA upgrading
in single_release file->private_data will be dereferenced,
which is assigned a value by single_open. So if signle_open
is not called before single_release, an "unable to handle
kernel NULL pointer..." issue will appear.
But in this case, since single_open and seq_read is not
called, there is no need calling single_release to release
mem allocated by single_open and seq_read. Simpley remove
calling single_release is the best choise
Change-Id: I21882da33cc2509c1b5b42daabbd7c6f3fdc4542
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#148982: add freeze op to distinguish freeze mode vs mem mode
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Change-Id: I3bec4d687a933603a29aeb7a44422aa81e47cea7
PD#150578: enable sysrq
CONFIG_MAGIC_SYSRQ is selected by CONFIG_KGDB_SERIAL_CONSOLE in Kconfig,
so CONFIG_MAGIC_SYSRQ should by enabled to enable syrq after KGDB is
disabled
Change-Id: I09207781dba9369b6f0a505492f8840526474acf
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#151126: emmc: modify the RPMB mark
1. modify the RPMB mark in AMLSD.c file
2. add debug debugging methods
Change-Id: Iae4f87612c8976520c8283188d331e9e94e72784
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#149771: disable CONFIG_DEVPORT on arm64 systems
CONFIG_DEVPORT should not be used on arm64 systems.
It cannot really be used.
Change-Id: I2ed538e3c9dc7596be55789dbc23480ed92b13f9
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#151167: del interrupts = < 0 68 4> to fix irq: type mismatch issue
test on p212 board
Change-Id: I003175f59f77fd7711297a2472e1986fea8f3609
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
PD#150981: synchronous lcd driver linux3.14 to linux4.9
1.add bl_level bootargs parameter
2.repair unifykey bl_level error
3.update the mechanism of 50/60hz switch
4.add pwm & enable sequence reverse support
5.add vbyone special control adjust support
Change-Id: I63136af6b96d793691eed23c064e7515e1d50aff
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
PD#149178: memleek when single_open/seq_readwithout single_release
single_open/seq_read will apply for one page and two small
slab memory. If we do not release them in single_release,
the system will crash for memory leeking
Change-Id: I2b74a0c6faec415e96164d0c20ba0676836e55eb
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#150914: mm: optimize for cma allocation/free time
1. NOT use __GFP_COLD during cma is under allcating to
avoid page lock long time;
2. Mark __GFP_BDEV for alloc_migrate_target to avoid
migrate allocate cma page again in cma allocate;
3. use SMP to allocate cma;
4. try to free large order of pages for cma.
Change-Id: I2213444a089ce27ee6486c84dea03e0584086cd3
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#150868: create logo_reserved node in dts in Android O
Change-Id: I4057aef2e40504920a9d3b086d31d96aa23bb52f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#150739: merged code from c502feca7 on the amlogic-3.14-dev
1.codec_mm: fixed tvp first wait long time bug
2.pcrmaster: fix some avsync issue in pcrmaster mode
3.vfm: fix vf provider crash issue
Change-Id: I64202a38a3ed0c50ba665fb477caea26c67ddcb0
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#150865: add p241 dts.
1. system partition size is 0x80000000.
2. max gpu clk is 650M.
3. uart_A status is disable, uart_C is okay.
4. vpu clk level is 200M.
Change-Id: I03cc3119e3d5be8ccedc2f6f3304189fd89ef33b
Signed-off-by: Lianghu Su <lianghu.su@amlogic.com>
PD#150522: compile hci_uart as module
meson64_smarthome_defconfig:
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_QCA=y
1. realtek bt has its own hci_uart driver
so we need compile both hci_uart driver
as module
2. add hciuart_qca support, for we need qualcomm
bt for bluez later
Change-Id: Icffbb66623a5e28803a4f26bb3523f79cae91bc3
Signed-off-by: Weiguang Ruan <Weiguang.ruan@amlogic.com>
PD#150206: mm: forward memory reclaim process
memory reclaim process is usually do when first allocate failed
from buddy. This will cause some process crash especially when
memory is low, because there is not enough time to do reclaim
process. This change try to wake up kswapd process to reclaim
memory if free memory is less than high water mark. After apply
this change, free memory is usually keeps high than high_water
mark.
Change-Id: I03b5b931b6ec1fe1345d6f5cf8c15150438a26d3
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>