UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
mfd: rtsx: Optimize card detect flow

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

1. Schedule card detect work at the end of the ISR
2. Callback function ops->cd_deglitch may delay for a period of time.
It is not proper to call this callback when local irq disabled.
3. Card detect flow can't be executed in parallel with other card reader
operations, so it's better to be protected by mutex.

Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 504decc0a063e6a09a1e5b203ca68bc21dfffde9)
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Adam Lee <yk@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
mfd: rtsx: Fix issue that booting OS with SD card inserted

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

Realtek card reader supports both SD and MS card. According to the
settings of rtsx MFD driver, SD host will be probed before MS host.
If we boot/reboot Linux with SD card inserted, the resetting flow of SD
card will succeed, and the following resetting flow of MS is sure to fail.
Then MS upper-level driver will ask rtsx driver to turn power off. This
request leads to the result that the following SD commands fail and SD card
can't be accessed again.

In this commit, Realtek's SD and MS host driver will check whether the card
that upper driver requesting is the one existing in the slot. If not, Realtek's
host driver will refuse the operation to make sure the exlusive accessing
at the same time.

Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit c3481955f6c78c8dd99921759306d7469c999ec2)
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Adam Lee <yk@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>