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 "usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs" into cm-10.1
defconfigs: use a commonized defconfig for d2

Change-Id: Ieebb1fbf7bca2480257cf6477f62a4844aa54066
d2: add support for variant defconfigs

* shamelessly kanged from jf

Change-Id: I86a538f16bbb91dcc9366ed42a35a6451500403d
defconfigs: fix up for selinux dependencies

Change-Id: Ideccb992ebe87d9531bba41239f5bd309103d130
Merge changes Ideccb992,I86a538f1,Ieebb1fbf into cm-10.1

* changes:
  defconfigs: fix up for selinux dependencies
  d2: add support for variant defconfigs
  defconfigs: use a commonized defconfig for d2
msm: kgsl: Don't hold process list global mutex in process private create

Don't hold process list global mutex for long. Instead make
use of process specific spin_lock() to serialize access
to process private structure while creating it. Holding
process list global mutex could lead to deadlocks as other
functions depend on it.

Change-Id: I4f60737393efa2001597f0222aa6fe19fb6a07c5
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
Signed-off-by: Ananta Kishore K <akollipa@codeaurora.org>