diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-09-11 15:16:58 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-02 18:47:55 +0200 |
commit | 61a9346f60fe32143c007bb27bac6e1d83e4aee8 (patch) | |
tree | efdb4286f96fae35de658ef7fb8fed50e380bdde /audio | |
parent | 35f7f3fb5c65dcdf8315bbfd40a3c1d015663d77 (diff) | |
download | qemu-61a9346f60fe32143c007bb27bac6e1d83e4aee8.zip qemu-61a9346f60fe32143c007bb27bac6e1d83e4aee8.tar.gz qemu-61a9346f60fe32143c007bb27bac6e1d83e4aee8.tar.bz2 |
serial: fix DLL writes
Commit 0147883450fe84bb8de2d4a58381881f4262ce9b tries to handle
word-sized writes to DLL/DLH, but due to a typo,
this patch is causing tracebacks in all Linux kernels running the PXA
serial driver, due to an unexpected DLL register value. Here is the
surrounding code from drivers/tty/serial/pxa.c:
serial_out(up, UART_DLL, quot & 0xff); /* LS of divisor */
/*
* work around Errata #75 according to Intel(R) PXA27x
* Processor Family Specification Update (Nov 2005)
*/
dll = serial_in(up, UART_DLL);
WARN_ON(dll != (quot & 0xff)); // <-- warning
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 0147883450fe84bb8de2d4a58381881f4262ce9b
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions