counter:ti-eqep: remove floor
authorDavid Lechner <david@lechnology.com>
Mon, 14 Dec 2020 00:09:27 +0000 (18:09 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 14 Jan 2021 20:56:56 +0000 (20:56 +0000)
commit49a9565a7a7ce168e3e6482fb24e62d12f72ab81
tree6551fd99b1fa43e534f35c925a64361baa6be08a
parentcf5b1385d748b2f91b0c05bb301fcaf9bdbad385
counter:ti-eqep: remove floor

The hardware doesn't support this. QPOSINIT is an initialization value
that is triggered by other things. When the counter overflows, it
always wraps around to zero.

Fixes: f213729f6796 "counter: new TI eQEP driver"
Signed-off-by: David Lechner <david@lechnology.com>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Link: https://lore.kernel.org/r/20201214000927.1793062-1-david@lechnology.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/counter/ti-eqep.c