<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/iio/dac, branch linux-3.14.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.14.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.14.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2016-02-25T19:58:54+00:00</updated>
<entry>
<title>iio: dac: mcp4725: set iio name property in sysfs</title>
<updated>2016-02-25T19:58:54+00:00</updated>
<author>
<name>Yong Li</name>
<email>sdliyong@gmail.com</email>
</author>
<published>2016-01-06T01:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6c1a9c4caad3cdaea588413830ad7692afdd89f9'/>
<id>urn:sha1:6c1a9c4caad3cdaea588413830ad7692afdd89f9</id>
<content type='text'>
commit 97a249e98a72d6b79fb7350a8dd56b147e9d5bdb upstream.

Without this change, the name entity for mcp4725 is missing in
/sys/bus/iio/devices/iio\:device*/name

With this change, name is reported correctly

Signed-off-by: Yong Li &lt;sdliyong@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio: ad5064: Fix ad5629/ad5669 shift</title>
<updated>2016-02-25T19:58:53+00:00</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2015-10-13T16:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6c50c15f47fca71823119dd5d2dc428c5fcd363c'/>
<id>urn:sha1:6c50c15f47fca71823119dd5d2dc428c5fcd363c</id>
<content type='text'>
commit 5dcbe97bedd6ba4b0f574a96cc2e293d26f3d857 upstream.

The ad5629/ad5669 are the I2C variant of the ad5628/ad5668, which has a SPI
interface. They are mostly identical with the exception that the shift
factor is different. Currently the driver does not take care of this
difference which leads to incorrect DAC output values.

Fix this by introducing a custom channel spec for the ad5629/ad5669 with
the correct shift factor.

Fixes: commit 6a17a0768f77 ("iio:dac:ad5064: Add support for the ad5629r and ad5669r")
Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio:ad5064: Make sure ad5064_i2c_write() returns 0 on success</title>
<updated>2016-02-25T19:58:53+00:00</updated>
<author>
<name>Michael Hennerich</name>
<email>michael.hennerich@analog.com</email>
</author>
<published>2015-10-13T16:15:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7d5470a98963a7f32187f0bcfe42c0a740802a04'/>
<id>urn:sha1:7d5470a98963a7f32187f0bcfe42c0a740802a04</id>
<content type='text'>
commit 03fe472ef33b7f31fbd11d300dbb3fdab9c00fd4 upstream.

i2c_master_send() returns the number of bytes transferred on success while
the ad5064 driver expects that the write() callback returns 0 on success.
Fix that by translating any non negative return value of i2c_master_send()
to 0.

Fixes: commit 6a17a0768f77 ("iio:dac:ad5064: Add support for the ad5629r and ad5669r")
Signed-off-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio: DAC: ad5624r_spi: fix bit shift of output data value</title>
<updated>2015-08-03T16:29:53+00:00</updated>
<author>
<name>JM Friedt</name>
<email>jmfriedt@femto-st.fr</email>
</author>
<published>2015-06-19T12:48:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f755f06a8b65d05eb608a243035febfc3134140b'/>
<id>urn:sha1:f755f06a8b65d05eb608a243035febfc3134140b</id>
<content type='text'>
commit adfa969850ae93beca57f7527f0e4dc10cbe1309 upstream.

The value sent on the SPI bus is shifted by an erroneous number of bits.
The shift value was already computed in the iio_chan_spec structure and
hence subtracting this argument to 16 yields an erroneous data position
in the SPI stream.

Signed-off-by: JM Friedt &lt;jmfriedt@femto-st.fr&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio: ad5686: fix optional reference voltage declaration</title>
<updated>2015-03-18T12:31:26+00:00</updated>
<author>
<name>Urs Fässler</name>
<email>urs.fassler@bytesatwork.ch</email>
</author>
<published>2015-02-02T16:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=21c8e9929c8bd70b317dbc3340d69ddd68f9e1bd'/>
<id>urn:sha1:21c8e9929c8bd70b317dbc3340d69ddd68f9e1bd</id>
<content type='text'>
commit da019f59cb16570e78feaf10380ac65a3a06861e upstream.

When not using the "_optional" function, a dummy regulator is returned
and the driver fails to initialize.

Signed-off-by: Urs Fässler &lt;urs.fassler@bytesatwork.ch&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio:dac:mcp4725 drop specification of scan type as unused in this driver.</title>
<updated>2013-12-17T21:08:19+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-12-11T18:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb4417f9db0e386b918d3c2dcfdbdacb513b852a'/>
<id>urn:sha1:cb4417f9db0e386b918d3c2dcfdbdacb513b852a</id>
<content type='text'>
IIO_ST is going away as it is a pain to maintain so the simplest path with
this driver is to not specify the unused scan type.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
</content>
</entry>
<entry>
<title>iio:dac:max517 drop specification of scan type as unused in this driver.</title>
<updated>2013-12-17T21:07:37+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-12-11T18:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5247362453879e9829305be82d061f520d7d7e45'/>
<id>urn:sha1:5247362453879e9829305be82d061f520d7d7e45</id>
<content type='text'>
IIO_ST is going away as it is a pain to maintain so the simplest path with
this driver is to not specify the unused scan type.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
</content>
</entry>
<entry>
<title>iio:dac:ad5791 replaces IIO_ST macro with explicit entries to struct scan_type</title>
<updated>2013-12-17T21:06:57+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-12-11T18:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb9d90f1e31703e8be427397c024f55a14ee6528'/>
<id>urn:sha1:cb9d90f1e31703e8be427397c024f55a14ee6528</id>
<content type='text'>
IIO_ST is going away as it is a pain to maintain.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
</content>
</entry>
<entry>
<title>iio:dac:ad5764 replaces IIO_ST macro with explicit entries to struct scan_type</title>
<updated>2013-12-17T21:05:53+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-12-11T18:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=560101de9286d1a4932d08d97987c89901718a8b'/>
<id>urn:sha1:560101de9286d1a4932d08d97987c89901718a8b</id>
<content type='text'>
IIO_ST is going away as it is a pain to maintain.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
</content>
</entry>
<entry>
<title>iio:dac:ad5755 replaces IIO_ST macro with explicit entries to struct scan_type</title>
<updated>2013-12-17T21:04:47+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-12-11T18:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=64665dd37353782db33edfc41c5c2870879581b1'/>
<id>urn:sha1:64665dd37353782db33edfc41c5c2870879581b1</id>
<content type='text'>
IIO_ST is going away as it is a pain to maintain.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
</content>
</entry>
</feed>
