Skip to content
Snippets Groups Projects
Commit 80e06146 authored by Thomas Chou's avatar Thomas Chou Committed by Tom Rini
Browse files

ns16550: change reg-shift property default to zero


Change reg-shift property default to zero. When the integer property
is missing, it should be taken as zero. This is consistent to Linux
drivers/tty/serial/of_serial.c.

The x86 and most powerpc use reg-shift of 0. Most others use reg-shift
of 2. While reg-shift of 1 is rarely used.

Signed-off-by: default avatarThomas Chou <thomas@wytron.com.tw>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent eada086f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment