Second set of IIO fixes for the 4.4 cycle.

Some of these were waiting for various code to hit during the merge
 window - others have simply shown up recently.
 
 * Dummy - fix a bug introduced recently that stops events actually
   reaching userspace.
 * Lidar - return -EINVAL on getting a report of an invalid reading from
   the device.  This could mean that nothing is in range, or something
   else has gone wrong.  Basically it tells us nothing useful beyond the
   reading is bogus and should be ignored.
 * apds9660 - make sure to call pm_runtime_mark_last_busy when reading
   from the device to avoid a premature disabling of the power.
 * core - fix up a few missues of the WARN macro.
 * spmi-vadc - fix a missing of_node_put when breaking out of
   a for_each_available_child_of_node loop.
 
 The dummy driver is going to result in a slightly interesting
 merge when this meets the togreg branch as that driver has graduated
 from staging in the meantime.  I'll send an email in reply to that
 pull request highlighting this as well.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQIcBAABCAAGBQJWUc8MAAoJEFSFNJnE9BaIlCoQAI873uKlChbGt8uperACvvfn
 Q6UAcFIenEJrudve/C4zfjnYIKzxG6v6A1fUhoiOmJ0k/2wHYd6Lb27jT15Nsnkm
 2hS4KAzc4mngxCc0upK0qCOWTVCHmRuvm1i2cHaMAugcExpyoXRmLkWRvwwrEb4h
 NS5Qr9wQOGnBU7mOlZyqP6PQq2tU18eNLCg6A+cVMoq3z9CN0MH/x6pTV6O29PIx
 88jwaNnPL7EoBxSTziYIbyXLEy7/x4RlIxxkSU75jHc5JHChoH4f+BXKzxjdVqh+
 nL2Ok8BSnJV1cngqZDPZXcBrbeAKvhXyi7vExE6ntzMh0pTd+8wwyggddETJ/zIw
 JsiN1qg4jSre97UCnW/F+owSxVkg+ptgT4zZGNikffA5W+HsE6CxHMiGiuzAkBf3
 AdUdIv778/KKkblQGmlHADLwLWo0r09yqilkNEzqH5zY+v+02aEWzJSnJl6Qh55v
 7DEgcuzhYzKuIzuq1RYjT+HhAIPFFTRTYIPLjT0zBcwHtYhfpVpq3UzNJ4p3ehNd
 Pumg+OY7jWabPDar7ZthYYxGLzD5u4jeFdXiua7kUat84O8n0YomoPkobHEP1IcI
 AvBZisjeREorVfwMtphyL0mL1bAZxo+/KS4NlbbZv+LKNeP1fk/T4wbgtI/tYJNF
 mdr3uk6y4FVFHm4WrNCe
 =MrHH
 -----END PGP SIGNATURE-----

Merge tag 'iio-fixes-for-4.4b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus

Jonathan writes:

Second set of IIO fixes for the 4.4 cycle.

Some of these were waiting for various code to hit during the merge
window - others have simply shown up recently.

* Dummy - fix a bug introduced recently that stops events actually
  reaching userspace.
* Lidar - return -EINVAL on getting a report of an invalid reading from
  the device.  This could mean that nothing is in range, or something
  else has gone wrong.  Basically it tells us nothing useful beyond the
  reading is bogus and should be ignored.
* apds9660 - make sure to call pm_runtime_mark_last_busy when reading
  from the device to avoid a premature disabling of the power.
* core - fix up a few missues of the WARN macro.
* spmi-vadc - fix a missing of_node_put when breaking out of
  a for_each_available_child_of_node loop.

The dummy driver is going to result in a slightly interesting
merge when this meets the togreg branch as that driver has graduated
from staging in the meantime.  I'll send an email in reply to that
pull request highlighting this as well.
This commit is contained in:
Greg Kroah-Hartman 2015-11-30 20:00:44 -08:00
commit cc4c60cc25
6 changed files with 10 additions and 7 deletions