|
@@ -1085,11 +1085,7 @@ static void xuartps_console_write(struct console *co, const char *s,
|
|
|
|
|
|
xuartps_writel(ctrl, XUARTPS_CR_OFFSET);
|
|
xuartps_writel(ctrl, XUARTPS_CR_OFFSET);
|
|
|
|
|
|
- /* restore interrupt state, it seems like there may be a h/w bug
|
|
|
|
- * in that the interrupt enable register should not need to be
|
|
|
|
- * written based on the data sheet
|
|
|
|
- */
|
|
|
|
- xuartps_writel(~imr, XUARTPS_IDR_OFFSET);
|
|
|
|
|
|
+ /* restore interrupt state */
|
|
xuartps_writel(imr, XUARTPS_IER_OFFSET);
|
|
xuartps_writel(imr, XUARTPS_IER_OFFSET);
|
|
|
|
|
|
if (locked)
|
|
if (locked)
|