Re: [PATCH] Correct bit mask for ADC result according to ADC's resolution.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 4, 2021 at 5:11 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, Feb 04, 2021 at 04:54:30PM +0100, Wilfried Wessner wrote:
> > Signed-off-by: Wilfried Wessner <wilfried.wessner@xxxxxxxxx>
>
> I know I can't take patches without any changelog text :(
>
Sorry, it's my first submitted patch, but what exactly do you mean by
"changelog text"?

Soemthing like:
"This patch fixes a wrong result mask, which was caused by an improper
 usage of the GENMASK macro.
The GENMASK macro indexing is zero based, so if the ADC-result is
right aligned stored in an integer based type, the mask
goes from [resolution -1 , 0]."

Thank you for your help!

Best regards,
Willi



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux