diff options
author | Jisheng Zhang <[email protected]> | 2018-07-12 09:59:40 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-07-12 17:07:26 +0200 |
commit | 701c5e73b296f93e3d07af663f354e859be4f1f7 (patch) | |
tree | 152431f209d951bfa387291087d7f1597d97a564 /lib/netdev-notifier-error-inject.c | |
parent | 6226e5f31a786b58f33781852c897ac32a325ce6 (diff) |
serial: 8250_dw: add fractional divisor support
For Synopsys DesignWare 8250 uart which version >= 4.00a, there's a
valid divisor latch fraction register. The fractional divisor width is
4bits ~ 6bits.
Now the preparation is done, it's easy to add the feature support.
This patch firstly tries to get the fractional divisor width during
probe, then setups dw specific get_divisor() and set_divisor() hook.
Signed-off-by: Jisheng Zhang <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions