-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19cb40a
commit 66682f5
Showing
3 changed files
with
37 additions
and
125 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
kernel_patches/arm64-sm8250/0026-remove-spmi-pmic-warning.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c | ||
index dcb675d980d4..2688ac2a7e55 100644 | ||
--- a/drivers/spmi/spmi-pmic-arb.c | ||
+++ b/drivers/spmi/spmi-pmic-arb.c | ||
@@ -289,7 +289,6 @@ static int pmic_arb_wait_for_done(struct spmi_controller *ctrl, | ||
if (status & PMIC_ARB_STATUS_FAILURE) { | ||
dev_err(&ctrl->dev, "%s: %#x %#x: transaction failed (%#x)\n", | ||
__func__, sid, addr, status); | ||
- WARN_ON(1); | ||
return -EIO; | ||
} | ||
|
13 changes: 13 additions & 0 deletions
13
kernel_patches/arm64-sm8250/0027-qcom-geni-serial-fix-zero-dma-rx-len-in.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c | ||
index 08dc3e2a729c..d79dfe71410b 100644 | ||
--- a/drivers/tty/serial/qcom_geni_serial.c | ||
+++ b/drivers/tty/serial/qcom_geni_serial.c | ||
@@ -823,7 +823,7 @@ static void qcom_geni_serial_handle_rx_dma(struct uart_port *uport, bool drop) | ||
rx_in = readl(uport->membase + SE_DMA_RX_LEN_IN); | ||
if (!rx_in) { | ||
dev_warn(uport->dev, "serial engine reports 0 RX bytes in!\n"); | ||
- return; | ||
+ //return; | ||
} | ||
|
||
if (!drop) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters