Skip to content
Commit a0c3aadd authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

uart_qmsi: fix possible divide-by-zero



The line control value could result in a baud divisor of zero.
Check this condition and return -EINVAL if that is the case.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent a4208365
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment