The commit, <65ec3786aa> (mmc: host: Fix bootup issue with file
encryption with GKI) introduced build error- multiple definitions of
the same function'. Hence, make the stub definitions 'static inline'
to handle the errors.
Change-Id: I42fcc8e47d829fbfd545fe66673a637a2d71b861
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
commit 10ee57c29e ("block: Fix use-after-free while iterating over
requests")
This is needed to fix regression observed in suspend/resume
paths where the tag corresponds to static_rqs is becoming
NULL and observed a kernel panic due to NULL pointer access in
blk_mq_get_rq().
89.824342: <2> Call trace:
89.824356: <2> blk_mq_get_request+0x200/0x3ec
89.824367: <2> blk_mq_alloc_request+0x5c/0xb4
89.824382: <2> blk_get_request+0x2c/0xa4
89.824398: <2> __scsi_execute+0x58/0x1a0
89.824413: <2> ufshcd_set_dev_pwr_mode+0x174/0x248
89.824425: <2> ufshcd_suspend+0x2e8/0x830
89.824436: <2> ufshcd_runtime_suspend+0x44/0x194
89.824452: <2> ufshcd_pltfrm_runtime_suspend+0x14/0x20
89.824468: <2> pm_generic_runtime_suspend+0x44/0x80
89.824481: <2> __rpm_callback+0x98/0x1d8
89.824493: <2> rpm_suspend+0x31c/0x634
89.824505: <2> rpm_idle+0x158/0x228.
Change-Id: I5bc3d75a9d891054dc926171b3ad90b701d776d6
Signed-off-by: Pradeep P V K <pragalla@codeaurora.org>
Currently the functions usb_gadget_activate and
usb_gadget_deactivate are being called with spinlock held.
The above functions calls gadget_pullup which invokes
pm_runtime_get_sync call, which might sleep.
This results in a crash. Fix this by releasing the
spinlock and acquiring it after the function call.
Change-Id: I17359e3c3227773a8ce269f8db93bc1d56771044
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
The same_page variable inside the function __bio_try_merge_page()
must be set to true if the merge happened within the same page.
As some the callers of this function take action based on that.
Change-Id: Iae4a7170aeaffcc0b9c424368c7d8127d51a177b
Fixes: 1bbb4bd9c3 ("block: disable multi-page bvec")
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
use the legacy command for sending any data
to trusted application only if the app name
is slateapp.
Change-Id: Iecbe75c45b253ef87de3306b89b50c39008550fe
Signed-off-by: Jiten Patel <jitepate@codeaurora.org>