Staging: iio: meter: fixed typo
Subsystems (4)
PATCH 1/1 Staging: iio: meter: fixed typo
This patch fixes an obvious typo, which will cause erroneously returning the Peak Voltage instead of the Peak Current.
--- drivers/staging/iio/meter/ade7854.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/meter/ade7854.c +1 -1
@@ -269,7 +269,7 @@ static IIO_DEV_ATTR_VPEAK(0644, static IIO_DEV_ATTR_IPEAK(0644, ade7854_read_32bit, ade7854_write_32bit, - ADE7854_VPEAK); + ADE7854_IPEAK); static IIO_DEV_ATTR_APHCAL(0644, ade7854_read_16bit, ade7854_write_16bit,
Signature · 1 line
2.17.1
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Leonard Pollak
Sent: Mittwoch, 13. Februar 2019 11:20
To: [email protected]; [email protected]; [email protected]; Hennerich, Michael <[email protected]>
Cc: [email protected]; Leonard Pollak <[email protected]>
Subject: [PATCH] Staging: iio: meter: fixed typoThis patch fixes an obvious typo, which will cause erroneously returning the Peak Voltage instead of the Peak Current.
Signed-off-by Leonard Pollak <[email protected]>
Quoted 19 lines
--- drivers/staging/iio/meter/ade7854.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/iio/meter/ade7854.c +1
-2@@ -269,7 +269,7 @@ static IIO_DEV_ATTR_VPEAK(0644, static IIO_DEV_ATTR_IPEAK(0644, ade7854_read_32bit, ade7854_write_32bit, - ADE7854_VPEAK); + ADE7854_IPEAK); static IIO_DEV_ATTR_APHCAL(0644, ade7854_read_16bit, ade7854_write_16bit, --2.17.1
Quoted 7 lines · Michael
Quoted 7 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Leonard Pollak
Sent: Mittwoch, 13. Februar 2019 11:20
To: [email protected]; [email protected]; [email protected]; Hennerich, Michael <[email protected]>
Cc: [email protected]; Leonard Pollak <[email protected]>
Subject: [PATCH] Staging: iio: meter: fixed typo
Quoted 6 lines
Quoted 4 lines
This patch fixes an obvious typo, which will cause erroneously returning the Peak Voltage instead of the Peak Current.
Signed-off-by Leonard Pollak <[email protected]>
Applied to the fixes-togreg branch of iio.git, marked for stable.
Will probably not go upstream until after the coming merge window. It's been broken a 'while' so I'm not going to rush it in.
Thanks,
Jonathan
Quoted 21 lines
Quoted 20 lines
--- drivers/staging/iio/meter/ade7854.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/iio/meter/ade7854.c +1
-2@@ -269,7 +269,7 @@ static IIO_DEV_ATTR_VPEAK(0644, static IIO_DEV_ATTR_IPEAK(0644, ade7854_read_32bit, ade7854_write_32bit, - ADE7854_VPEAK); + ADE7854_IPEAK); static IIO_DEV_ATTR_APHCAL(0644, ade7854_read_16bit, ade7854_write_16bit, --2.17.1