dm: serial: bcm6345: fix baud rate clock calculation
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 22 May 2017 18:01:46 +0000 (20:01 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 31 May 2017 12:55:20 +0000 (14:55 +0200)
commit24f85482c90227d6ba4cc3739874bae7e8969a62
tree3b0f9b146072c575680f863ba86512c26feda729
parent6b7185f3eea0e176063df4ae8ed3fde9ae87d246
dm: serial: bcm6345: fix baud rate clock calculation

It's currently bugged and doesn't work for even cases.
Right shift bits instead of dividing and fix even cases.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
drivers/serial/serial_bcm6345.c