From: 黄涛 Date: Wed, 6 Aug 2014 07:34:14 +0000 (+0800) Subject: Merge tag 'lsk-v3.10-android-14.07' into develop-3.10 X-Git-Tag: firefly_0821_release~4937 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fcef60e36ffff81106b1d4304e0be0088a4f3a27;p=firefly-linux-kernel-4.4.55.git Merge tag 'lsk-v3.10-android-14.07' into develop-3.10 LSK v3.10 Android 14.07 release Conflicts: drivers/clocksource/arm_arch_timer.c lib/Makefile --- fcef60e36ffff81106b1d4304e0be0088a4f3a27 diff --cc drivers/clocksource/arm_arch_timer.c index c5c162b76d39,67bbbd8ae507..ecfa6bcc3d2c --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@@ -245,6 -419,23 +419,27 @@@ struct timecounter *arch_timer_get_time return &timecounter; } + static void __init arch_counter_register(unsigned type) + { + u64 start_count; + + /* Register the CP15 based counter if we have one */ + if (type & ARCH_CP15_TIMER) + arch_timer_read_counter = arch_counter_get_cntvct; + else + arch_timer_read_counter = arch_counter_get_cntvct_mem; + ++ if (!arch_timer_use_virtual) ++ if (arch_timer_read_counter == arch_counter_get_cntvct) ++ arch_timer_read_counter = arch_counter_get_cntpct; ++ + start_count = arch_timer_read_counter(); + clocksource_register_hz(&clocksource_counter, arch_timer_rate); + cyclecounter.mult = clocksource_counter.mult; + cyclecounter.shift = clocksource_counter.shift; + timecounter_init(&timecounter, &cyclecounter, start_count); + } + static void __cpuinit arch_timer_stop(struct clock_event_device *clk) { pr_debug("arch_timer_teardown disable IRQ%d cpu #%d\n", diff --cc drivers/input/Makefile index 1b7621cae016,ee4c06520bb4..d84c599c7bce --- a/drivers/input/Makefile +++ b/drivers/input/Makefile @@@ -23,6 -23,8 +23,8 @@@ obj-$(CONFIG_INPUT_JOYSTICK) += joystic obj-$(CONFIG_INPUT_TABLET) += tablet/ obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/ obj-$(CONFIG_INPUT_MISC) += misc/ - +obj-$(CONFIG_SENSOR_DEVICE) += sensors/ obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o obj-$(CONFIG_INPUT_KEYRESET) += keyreset.o + obj-$(CONFIG_INPUT_KEYCOMBO) += keycombo.o + diff --cc drivers/staging/android/ion/rockchip/rockchip_ion.c index 6b4790ca8fb3,000000000000..113dfea29e36 mode 100755,000000..100755 --- a/drivers/staging/android/ion/rockchip/rockchip_ion.c +++ b/drivers/staging/android/ion/rockchip/rockchip_ion.c @@@ -1,401 -1,0 +1,401 @@@ +/* + * drivers/gpu/rockchip/rockchip_ion.c + * + * Copyright (C) 2011 Google, Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#include +#include +#include +#include +#include +#include "../ion_priv.h" +#include +#include +#include + +#ifdef CONFIG_OF +#include +#include +#include