thermal: msm_thermal: Fix for reading incorrect negative temperatures

tsens_get_temp() takes in an unsigned long, but the temperatures could
be negative as well. The sign could be intrepreted as large positive
value when using an unsigned long. Use long variable type instead.

CRs-Fixed: 441632
Change-Id: Iea0713c4809818af0e409747d4be4631eb4837e9
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
cpufreq: interactive: add input_boost_freq userspace tunable.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
mako: wifi: Channel blocking when mobile network is no service state.

In case of no service state which means that Wi-Fi framework does not know
country code,  just 1 ~ 11 channels will be active and 12 ~ 14 channels and
5GHz channels will be blocked.

To do this, the followings are changed
1) Change regulatory domain map (nv.bin)
   a) Set N_AMER_EXC_FCC not to use 12 ~ 14 channels and 5GHz channels
   b) Set default regulatory domain to N_AMER_EXC_FCC
2) Change regulatory domain of Vietnam, Israel, and Turkey to others (vos_nvitem.c)
   Vietnam : N_AMER_EXC_FCC -> World
   Turkey  : N_AMER_EXC_FCC -> ETSI

LGE tested all the country codes of which the Mako was released and there was
no regulatory domain problem.

Signed-off-by: Vineeta Srivastava <vsrivastava@google.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
switch do_fsync() to fget_light()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mako_hotplug: change the load history mechanism a little but based on one TI patch for interactive called timer_view that makes use of this type of ringbuffers.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
cpufreq: interactive: add hooks in the Hotplug driver to scale interactive tunables based on system load.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Merge remote-tracking branch 'upstream/nightlies' into nightlies