msm: restart: Shut down MDM modem as well

Change-Id: If24c94ca413f809397159019226c829f6f8bdcba
fs/super.c: sync ro remount after blocking writers

Move sync_filesystem() after sb_prepare_remount_readonly().  If writers
sneak in anywhere from sync_filesystem() to sb_prepare_remount_readonly()
it can cause inodes to be dirtied and writeback to occur well after
sys_mount() has completely successfully.

This was spotted by corrupted ubifs filesystems on reboot, but appears
that it can cause issues with any filesystem using writeback.

CRs-Fixed: 627559
Change-Id: Ib417b59d39210aab2de4e5ae48b18129e8bc3e26
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
CC: Richard Weinberger <richard@nod.at>
Co-authored-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: 807612db2f9940b9fa6deaef054eb16d51bd3e00
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
misc: Revert of the following thread parking commits:

* rcu: Use smp_hotplug_thread facility for RCUs per-CPU kthread
* softirq: Use hotplug thread infrastructure
* smp: Add generic smpboot facility
* smp: Provide generic idle thread allocation
* smp, idle: Allocate idle thread for each possible cpu during boot
* smpboot, idle: Optimize calls to smp_processor_id() in idle_threads_init()
* smpboot, idle: Fix comment mismatch over idle_threads_init()
* kthread: Implement park/unpark facility
* smpboot: Provide infrastructure for percpu hotplug threads
* hotplug: Fix UP bug in smpboot hotplug code
* smpboot: Allow selfparking per cpu threads
* kthread: Prevent unpark race which puts threads on the wrong cpu
* stop_machine: Store task reference in a separate per cpu variable
* stop_machine: Use smpboot threads
* stop_machine: Mark per cpu stopper enabled early
* cpufreq: ondemand: Use hotplug thread infrastructure
* cpufreq: ondemand: Remove unused waitqueue
* cpufreq: cpu-boost: Use hotplug thread infrastructure
* cpufreq: cpu-boost: Fix queue_delayed_work_on() race with hotplug
* cpufreq: cpu-boost: Remove unused waitqueue

Change-Id: I360bd13f3d27a5b031f6f51bc0c9e0b9722c045f
ASoC: msm: Reduce maximum number of VOIP periods

Change-Id: Id8c38f5dcde57bffb301ceaf7d51ac531b4b80b7
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs

This patch adds a "cdrom" sysfs entry for each mass_storage LUN, just
like "ro" sysfs entry. This allows switching between USB and CD-ROM
emulation without reinserting the module or recompiling the kernel.

Change-Id: Idf83c74815b1ad370428ab9d3e5503d5f7bcd3b6
Merge branch 'cm-11.0' into stable/cm-11.0