iio: proximity: as3935: fix as3935_write
commit84ca8e364acb26aba3292bc113ca8ed4335380fd
authorMatt Ranostay <matt.ranostay@konsulko.com>
Fri, 14 Apr 2017 06:21:56 +0000 (13 23:21 -0700)
committerJonathan Cameron <jic23@kernel.org>
Fri, 14 Apr 2017 13:48:58 +0000 (14 14:48 +0100)
tree1a93378a623f0f70bbdb807330584c1031143662
parentce420fd4251809b4c3119b3b20c8b13bd8eba150
iio: proximity: as3935: fix as3935_write

AS3935_WRITE_DATA macro bit is incorrect and the actual write
sequence is two leading zeros.

Cc: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/proximity/as3935.c