Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v3 0/5] iio: imu: fxos8700: fix bugs about ODR and changes for a good readability
@ 2022-12-14  3:14 carlos.song
  2022-12-14  3:14 ` [PATCH v3 1/5] iio: imu: fxos8700: fix incorrect ODR mode readback carlos.song
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: carlos.song @ 2022-12-14  3:14 UTC (permalink / raw)
  To: jic23, lars
  Cc: rjones, Jonathan.Cameron, haibo.chen, carlos.song, linux-imx,
	linux-iio

From: Carlos Song <carlos.song@nxp.com>

In patch v3, the main work is fixing the bug that mask bits out of an
uninitialized variable. It caused by improper use of filed mask and
FIELD_PREP()/FIELD_GET(). Meanwhile give a further fix based patch v2
and make patches to optimize codes and clean up useless codes for a
good readability.
- Patch v2 [6/7] is split into three minimal fix patches:
  iio: imu: fxos8700: fix incorrect ODR mode readback
  iio: imu: fxos8700: improve readability by field mask and regmap_write
  iio: imu: fxos8700: fix failed initialization ODR value assignment
- A new clean fix is proposed:
  iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
- A further fix based on PATCH v2 [7/7]:
  iio: imu: fxos8700: fix MAGN sensor scale and unit

Carlos Song (5):
  iio: imu: fxos8700: fix incorrect ODR mode readback
  iio: imu: fxos8700: improve readability by field mask and regmap_write
  iio: imu: fxos8700: fix failed initialization ODR mode assignment
  iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
  iio: imu: fxos8700: fix MAGN sensor scale and unit

 drivers/iio/imu/fxos8700_core.c | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-23 16:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-14  3:14 [PATCH v3 0/5] iio: imu: fxos8700: fix bugs about ODR and changes for a good readability carlos.song
2022-12-14  3:14 ` [PATCH v3 1/5] iio: imu: fxos8700: fix incorrect ODR mode readback carlos.song
2022-12-23 16:55   ` Jonathan Cameron
2022-12-23 16:58     ` Jonathan Cameron
2022-12-14  3:15 ` [PATCH v3 2/5] iio: imu: fxos8700: improve readability by field mask and regmap_write carlos.song
2022-12-23 16:59   ` Jonathan Cameron
2022-12-14  3:15 ` [PATCH v3 3/5] iio: imu: fxos8700: fix failed initialization ODR mode assignment carlos.song
2022-12-14  3:15 ` [PATCH v3 4/5] iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN carlos.song
2022-12-14  3:15 ` [PATCH v3 5/5] iio: imu: fxos8700: fix MAGN sensor scale and unit carlos.song
2022-12-23 17:01   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox