Re: [PATCH v2] use callbacks to access UART_DLL/UART_DLM

From: Peter Hurley
Date: Fri Dec 18 2015 - 11:34:20 EST


On 12/18/2015 08:27 AM, Sebastian Frias wrote:
> On 12/18/2015 05:06 PM, Peter Hurley wrote:
>>> - unsigned char old_dll, old_dlm, old_lcr;
>>> + unsigned char old_lcr;
>>> unsigned int id;
>>> + unsigned int old_dl;
>>
>> unsigned int id, old_dl;
>
> Ok, thanks for your comments.
> By the way, should I just do:
>
> - unsigned char old_dll, old_dlm, old_lcr;
> + unsigned char old_lcr, old_dl;
>
> ?

The divisor is a 16-bit value.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/