db8500-prcmu.c from CoCafe, adapted to i8190 with AB8505 regulator chip by 1N4148 (reverted from commit 78a4d5d5d8776fa62e9c7981f39610ff84797008)
LiveOPP: sync with upstream (reverted from commit 162fb8902466d92d9a6d22579b0cd389d7abccd0)
LiveOPP: update liveopp table

Signed-off-by: Shilin Victor <chrono.monochrome@gmail.com> (reverted from commit 31f5b4f18c80fd3c515da81abce7135c51d26256)
db8500-prcmu: Updates from cocore
Courtesy @cocafe
clock-db8500: Add arm_pll clock

Note: smp_twd is armss clock.

Signed-off-by: cocafe <cocafehj@gmail.com>
cpufreq: Optimize cpufreq_frequency_table_verify()

cpufreq_frequency_table_verify() is rewritten here to make it more logical
and efficient.
 - merge multiple lines for variable declarations together.
 - quit early if any frequency between min/max is found.
 - don't call cpufreq_verify_within_limits() in case any valid freq is
   found as it is of no use.
 - rename the count variable as found and change its type to boolean.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
misc: Clean up warnings

Signed-off-by: cocafe <cocafehj@gmail.com>
pm: Remove most of ARM KHz Qos requirements

When requires ARM KHz QoS will override cpufreq min value.
That's why we "can not" set min value when touch booster is enabled,
We set it, then touch booster overrides it.

In other words, cpufreq min value control in userspace will have no effect.

Experimental still.

Signed-off-by: cocafe <cocafehj@gmail.com>
cpufreq: ondemand: Update driver
cpufreq: performance: Update driver
mfd: ab8500-gpadc: Add CONFIG_PM_SLEEP to suspend/resume

Add CONFIG_PM_SLEEP to suspend/resume functions to fix the build
warnings when CONFIG_PM_SLEEP is not selected. This is because
sleep PM callbacks defined by SET_SYSTEM_SLEEP_PM_OPS are only used
when the CONFIG_PM_SLEEP is enabled.

drivers/mfd/ab8500-gpadc.c:891:12: warning: 'ab8500_gpadc_suspend' defined but not used [-Wunused-function]
drivers/mfd/ab8500-gpadc.c:903:12: warning: 'ab8500_gpadc_resume' defined but not used [-Wunused-function]

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER

When assigning a NULL value to an RCU protected pointer, no barrier
is needed. The rcu_assign_pointer, used to handle that but will soon
change to not handle the special case.

Convert all rcu_assign_pointer of NULL value.

//smpl
@@ expression P; @@

- rcu_assign_pointer(P, NULL)
+ RCU_INIT_POINTER(P, NULL)

// </smpl>

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
netfilter: qtaguid: rate limit some of the printks

Some of the printks are in the packet handling path.
We now ratelimit the very unlikely errors to avoid
kmsg spamming.

Signed-off-by: JP Abgrall <jpa@google.com>

Conflicts:

	net/netfilter/xt_qtaguid.c
drivers/char: add frandom module

[http://www.billauer.co.il/frandom.html]
Merge pull request #24 from mkaluza/misc_debug

varios prcmu-qos fixes and improvments

Enabling any QoS requirement of ARM_KHZ will set minimum cpufreq as 100MHz (If has), it need to be fixed.

Thanks @mkaluza
Merge pull request #23 from mkaluza/liveopp

Liveopp improvements

Thanks @mkaluza
Merge pull request #23 from mkaluza/liveopp

Liveopp improvements

Thanks @mkaluza
LiveOPP: Modify PLLs for 1250MHz
LiveOPP: v2.1

- Fix warnings
- Initiate arm table index for boot frequency
- Remove some verbose debug
- Enable extend frequencies by default

Thanks @mkaluza for improvements

Signed-off-by: cocafe <cocafehj@gmail.com>
LiveOPP: Debug config