iio: magnetometer: mmc35240: Fix SET/RESET mask
authorDaniel Baluta <daniel.baluta@intel.com>
Tue, 14 Jul 2015 14:56:53 +0000 (17:56 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Jul 2015 10:53:36 +0000 (11:53 +0100)
commit3ceaa2c207ccf6933affc8358c0a04beb93e9aa7
treebe7c4811d9f4e1364ec9084371f3489558269525
parent8b14821a5c45e3472082c60723ca54cf2fe9c2f3
iio: magnetometer: mmc35240: Fix SET/RESET mask

This fixes setting the SET/RESET bit in the REG_CTRL0
register.

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/mmc35240.c