<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/dac, branch linux-5.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-05-09T07:16:18Z</updated>
<entry>
<title>iio:dac:ad3552r: Fix an IS_ERR() vs NULL check</title>
<updated>2022-05-09T07:16:18Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2022-04-04T11:42:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a845674644a107a0bff2f036d97c21cacaa36fd7'/>
<id>urn:sha1:a845674644a107a0bff2f036d97c21cacaa36fd7</id>
<content type='text'>
[ Upstream commit de3b9fe9609a05d3c354c6718ca657962d11d9fe ]

The fwnode_get_named_child_node() function does not return error
pointers.  It returns NULL.  Update the check accordingly.

Fixes: 8f2b54824b28 ("drivers:iio:dac: Add AD3552R driver support")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Nuno Sá &lt;nuno.sa@analog.com&gt;
Link: https://lore.kernel.org/r/20220404114244.GA19201@kili
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: dac: ad3552r: fix signedness bug in ad3552r_reset()</title>
<updated>2022-05-09T07:16:17Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2022-03-16T12:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69b0a0dfc1823506ca1f95c5ec609045b2484053'/>
<id>urn:sha1:69b0a0dfc1823506ca1f95c5ec609045b2484053</id>
<content type='text'>
[ Upstream commit 460bfa65b0de72f4d8a808bc7cfb1cb591a95b18 ]

The "val" variable is used to store either negative error codes from
ad3552r_read_reg_wrapper() or positive u16 values on success.  It needs
to be signed for the error handling to work correctly.

Fixes: 8f2b54824b28 ("drivers:iio:dac: Add AD3552R driver support")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/20220316122354.GA16825@kili
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: dac: ad5446: Fix read_raw not returning set value</title>
<updated>2022-05-09T07:16:12Z</updated>
<author>
<name>Michael Hennerich</name>
</author>
<published>2022-04-06T10:56:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=debe4b635f2d1de004b78deb69bdaeabf2ec1fc7'/>
<id>urn:sha1:debe4b635f2d1de004b78deb69bdaeabf2ec1fc7</id>
<content type='text'>
commit 89a01cd688d3c0ac983ef0b0e5f40018ab768317 upstream.

read_raw should return the un-scaled value.

Fixes: 5e06bdfb46e8b ("staging:iio:dac:ad5446: Return cached value for 'raw' attribute")
Signed-off-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Reviewed-by: Nuno Sá &lt;nuno.sa@analog.com&gt;
Link: https://lore.kernel.org/r/20220406105620.1171340-1-michael.hennerich@analog.com
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>iio: dac: ad5592r: Fix the missing return value.</title>
<updated>2022-05-09T07:16:12Z</updated>
<author>
<name>Zizhuang Deng</name>
</author>
<published>2022-03-10T12:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7462f0c79762d60ea26c9aabdb600c797f81c10b'/>
<id>urn:sha1:7462f0c79762d60ea26c9aabdb600c797f81c10b</id>
<content type='text'>
commit b55b38f7cc12da3b9ef36e7a3b7f8f96737df4d5 upstream.

The third call to `fwnode_property_read_u32` did not record
the return value, resulting in `channel_offstate` possibly
being assigned the wrong value.

Fixes: 56ca9db862bf ("iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs")
Signed-off-by: Zizhuang Deng &lt;sunsetdzz@gmail.com&gt;
Link: https://lore.kernel.org/r/20220310125450.4164164-1-sunsetdzz@gmail.com
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>iio:dac:mcp4725: Suppress clang W=1 warning about pointer to enum conversion.</title>
<updated>2021-12-21T15:10:09Z</updated>
<author>
<name>Jonathan Cameron</name>
</author>
<published>2021-11-28T17:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e064222dcc165ba2feee7f9ecc90121a7dfbc334'/>
<id>urn:sha1:e064222dcc165ba2feee7f9ecc90121a7dfbc334</id>
<content type='text'>
Cast to a uintptr_t rather than directly to the enum.

As per the discussion in below linked media patch.

Link: https://lore.kernel.org/linux-media/CAK8P3a2ez6nEw4d+Mqa3XXAz0RFTZHunqqRj6sCt7Y_Eqqs0rw@mail.gmail.com/
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Link: https://lore.kernel.org/r/20211128172445.2616166-7-jic23@kernel.org
</content>
</entry>
<entry>
<title>drivers:iio:dac: Add AD3552R driver support</title>
<updated>2021-12-16T18:00:55Z</updated>
<author>
<name>Mihail Chindris</name>
</author>
<published>2021-12-13T11:08:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f2b54824b28ba8317c60947b5941d686e3df70d'/>
<id>urn:sha1:8f2b54824b28ba8317c60947b5941d686e3df70d</id>
<content type='text'>
The AD3552R-16 is a low drift ultrafast, 16-bit accuracy,
current output digital-to-analog converter (DAC) designed
to generate multiple output voltage span ranges.
The AD3552R-16 operates with a fixed 2.5V reference.

Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf

Signed-off-by: Mihail Chindris &lt;mihail.chindris@analog.com&gt;
Link: https://lore.kernel.org/r/20211213110825.244347-3-mihail.chindris@analog.com
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio:adc/dac:Kconfig: Update to drop OF dependencies.</title>
<updated>2021-12-12T17:13:18Z</updated>
<author>
<name>Jonathan Cameron</name>
</author>
<published>2021-12-05T17:01:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a81c33f56abea1a63495e9a72073dda8c28083b8'/>
<id>urn:sha1:a81c33f56abea1a63495e9a72073dda8c28083b8</id>
<content type='text'>
We could probably drop a lot more of these, but for now this removes
unnecessary restrictions on stand alone ADC devices.

For these 3 drivers the false dependency seems to date all
the way back to their initial introduction.

Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
</content>
</entry>
<entry>
<title>iio:dac:lpc18xx_dac: Swap from of* to mod_devicetable.h</title>
<updated>2021-12-12T17:12:43Z</updated>
<author>
<name>Jonathan Cameron</name>
</author>
<published>2021-12-05T17:01:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09a74ea737352a80ed6e3fd427350d7d9c5a5502'/>
<id>urn:sha1:09a74ea737352a80ed6e3fd427350d7d9c5a5502</id>
<content type='text'>
This driver never used anything from the of specific headers.
mod_devicetable.h provides the struct of_device_id definition.

Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
</content>
</entry>
<entry>
<title>iio:dac:dpot-dac: Swap of.h for mod_devicetable.h</title>
<updated>2021-12-12T17:12:39Z</updated>
<author>
<name>Jonathan Cameron</name>
</author>
<published>2021-12-05T17:01:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5669c086e699ff269a977b225a8c9643cf39e53f'/>
<id>urn:sha1:5669c086e699ff269a977b225a8c9643cf39e53f</id>
<content type='text'>
This driver never used anything in the of specific header.
It just wants the struct of_device_id from mod_devicetable.h.

Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Acked-by: Peter Rosin &lt;peda@axentia.se&gt;
</content>
</entry>
<entry>
<title>iio:dac:ad5758: Drop unused of specific headers.</title>
<updated>2021-12-12T17:12:34Z</updated>
<author>
<name>Jonathan Cameron</name>
</author>
<published>2021-12-05T17:01:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f191fe4f0d3e8ed033d888b4da9039f8ffe4039f'/>
<id>urn:sha1:f191fe4f0d3e8ed033d888b4da9039f8ffe4039f</id>
<content type='text'>
These have never been used in this driver.  What is used is in
mod_devicetable.h so add that include (struct of_device_id)

Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Cc: Daniel Gomez &lt;dagmcr@gmail.com&gt;
</content>
</entry>
</feed>
