Commit 0f3492e
serial: imx: only set receiver level if it is zero
BugLink: https://bugs.launchpad.net/bugs/2076435
commit 9706fc8 upstream.
With commit a81dbd0 ("serial: imx: set receiver level before
starting uart") we set the receiver level to its default value. This
caused a regression when using SDMA, where the receiver level is 9
instead of 8 (default). This change will first check if the receiver
level is zero and only then set it to the default. This still avoids the
interrupt storm when the receiver level is zero.
Fixes: a81dbd0 ("serial: imx: set receiver level before starting uart")
Cc: stable <[email protected]>
Signed-off-by: Stefan Eichenberger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Portia Stephens <[email protected]>
Signed-off-by: Roxana Nicolescu <[email protected]>1 parent c1bd23f commit 0f3492e
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
1941 | 1942 | | |
1942 | 1943 | | |
1943 | 1944 | | |
1944 | | - | |
| 1945 | + | |
1945 | 1946 | | |
1946 | 1947 | | |
1947 | 1948 | | |
| |||
1961 | 1962 | | |
1962 | 1963 | | |
1963 | 1964 | | |
1964 | | - | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
1965 | 1969 | | |
1966 | 1970 | | |
1967 | 1971 | | |
| |||
0 commit comments