Commit 9706fc8
serial: imx: only set receiver level if it is zero
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]>1 parent 22a40d1 commit 9706fc8
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
1933 | 1934 | | |
1934 | 1935 | | |
1935 | 1936 | | |
1936 | | - | |
| 1937 | + | |
1937 | 1938 | | |
1938 | 1939 | | |
1939 | 1940 | | |
| |||
1953 | 1954 | | |
1954 | 1955 | | |
1955 | 1956 | | |
1956 | | - | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
1957 | 1961 | | |
1958 | 1962 | | |
1959 | 1963 | | |
| |||
0 commit comments