Skip to content

Commit ae6fd54

Browse files
Merge patch series "scsi: ufs: qcom: Code cleanups"
Manivannan Sadhasivam <[email protected]> says: Hello, This series has code some cleanups to the Qcom UFS driver. No functional change. In this version, I've removed code supporting legacy controllers ver < 2.0, as the respective platforms were never supported in upstream. Tested on: RB5 development board based on Qcom SM8250 SoC. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
2 parents 98bfeda + cac50d0 commit ae6fd54

File tree

4 files changed

+67
-371
lines changed

4 files changed

+67
-371
lines changed

drivers/ufs/core/ufshcd.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,21 +289,23 @@ static void ufshcd_wb_toggle_buf_flush_during_h8(struct ufs_hba *hba,
289289
static void ufshcd_hba_vreg_set_lpm(struct ufs_hba *hba);
290290
static void ufshcd_hba_vreg_set_hpm(struct ufs_hba *hba);
291291

292-
static inline void ufshcd_enable_irq(struct ufs_hba *hba)
292+
void ufshcd_enable_irq(struct ufs_hba *hba)
293293
{
294294
if (!hba->is_irq_enabled) {
295295
enable_irq(hba->irq);
296296
hba->is_irq_enabled = true;
297297
}
298298
}
299+
EXPORT_SYMBOL_GPL(ufshcd_enable_irq);
299300

300-
static inline void ufshcd_disable_irq(struct ufs_hba *hba)
301+
void ufshcd_disable_irq(struct ufs_hba *hba)
301302
{
302303
if (hba->is_irq_enabled) {
303304
disable_irq(hba->irq);
304305
hba->is_irq_enabled = false;
305306
}
306307
}
308+
EXPORT_SYMBOL_GPL(ufshcd_disable_irq);
307309

308310
static void ufshcd_configure_wb(struct ufs_hba *hba)
309311
{

0 commit comments

Comments
 (0)