Re: [PATCH v1] Input: resistive-adc-touch - fix division by zero error on z1 == 0

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

 



On Thu, Oct 07, 2021 at 11:57:27AM +0200, Oleksij Rempel wrote:
> For proper pressure calculation we need at least x and z1 to be non
> zero. Even worse, in case z1 we may run in to division by zero
> error.
> 
> Fixes: 60b7db914ddd ("Input: resistive-adc-touch - rework mapping of channels")
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Applied, thank you.

-- 
Dmitry



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux