UBUNTU: SAUCE: Bluetooth: use hci_send_cmd instead of usb_control_msg

BugLink: https://launchpad.net/bugs/1065400

Calling usb_control_msg directly to send firmware file does not work
with new platforms. Use hci_send_cmd instead.

Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
mfd: rtsx: Read vendor setting from config space

BugLink: http://bugs.launchpad.net/bugs/1201698

Normally OEMs will set vendor setting to the config space of Realtek
card reader in BIOS stage. This patch reads the setting at the first,
and configure the internal registers according to it, to improve card
reader's compatibility condition.

Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(backported from commit 773ccdfd9cc6f9bf8ec75a59fa742d7a663a5903)

Conflicts:

	drivers/mfd/rts5249.c
	include/linux/mfd/rtsx_pci.h
Signed-off-by: Adam Lee <adam.lee@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
cifs: don't instantiate new dentries in readdir for inodes that need to be revalidated immediately

BugLink: http://bugs.launchpad.net/bugs/1222442

David reported that commit c2b93e06 (cifs: only set ops for inodes in
I_NEW state) caused a regression with mfsymlinks. Prior to that patch,
if a mfsymlink dentry was instantiated at readdir time, the inode would
get a new set of ops when it was revalidated. After that patch, this
did not occur.

This patch addresses this by simply skipping instantiating dentries in
the readdir codepath when we know that they will need to be immediately
revalidated. The next attempt to use that dentry will cause a new lookup
to occur (which is basically what we want to happen anyway).

Cc: <stable@vger.kernel.org>
Cc: "Stefan (metze) Metzmacher" <metze@samba.org>
Cc: Sachin Prabhu <sprabhu@redhat.com>
Reported-and-Tested-by: David McBride <dwm37@cam.ac.uk>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
(back ported from commit 757c4f6260febff982276818bb946df89c1105aa)
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Revert "zram: use zram->lock to protect zram_free_page() in swap free notify path"

BugLink: http://bugs.launchpad.net/bugs/1215513

This reverts commit 011101b6cf2ed0027d336294a0ceb6811b0f71d2, which was
commit 57ab048532c0d975538cebd4456491b5c34248f4 upstream.

This has been found to cause system lock ups when under high memory
pressure.

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-3.5.0-41.63

Signed-off-by: Brad Figg <brad.figg@canonical.com>
kernel-doc: bugfix - multi-line macros

BugLink: http://bugs.launchpad.net/bugs/1223920

Prior to this patch the following code breaks:

/**
 * multiline_example - this breaks kernel-doc
 */
 #define multiline_example( \
myparam)

Producing this error:

Error(somefile.h:983): cannot understand prototype: 'multiline_example( \ '

This patch fixes the issue by appending all lines ending in a blackslash
(optionally followed by whitespace), removing the backslash and any
whitespace after it prior to appending (just like the C pre-processor
would).

This fixes a break in kerel-doc introduced by the additions to rbtree.h.

Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 654784284430bf2739985914b65e09c7c35a7273)
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-3.5.0-41.64

Signed-off-by: Brad Figg <brad.figg@canonical.com>
UBUNTU: [Config] Created LTS backport branch

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.4.0-3.7

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.4.0-4.9

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.4.0-5.11

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-1.1

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-2.2

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-3.3

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-4.4

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-5.5

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-6.6

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-7.7

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-8.8

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
UBUNTU: Ubuntu-lts-3.5.0-9.9

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>