<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/w1, branch v4.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.3</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-09-02T01:46:42Z</updated>
<entry>
<title>Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial</title>
<updated>2015-09-02T01:46:42Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2015-09-02T01:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=089b669506ef28fae2c24a0ec21e06c02a38556b'/>
<id>urn:sha1:089b669506ef28fae2c24a0ec21e06c02a38556b</id>
<content type='text'>
Pull trivial tree updates from Jiri Kosina:
 "The usual stuff from trivial tree for 4.3 (kerneldoc updates, printk()
  fixes, Documentation and MAINTAINERS updates)"

* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (28 commits)
  MAINTAINERS: update my e-mail address
  mod_devicetable: add space before */
  scsi: a100u2w: trivial typo in printk
  i2c: Fix typo in i2c-bfin-twi.c
  treewide: fix typos in comment blocks
  Doc: fix trivial typo in SubmittingPatches
  proportions: Spelling s/consitent/consistent/
  dm: Spelling s/consitent/consistent/
  aic7xxx: Fix typo in error message
  pcmcia: Fix typo in locking documentation
  scsi/arcmsr: Fix typos in error log
  drm/nouveau/gr: Fix typo in nv10.c
  [SCSI] Fix printk typos in drivers/scsi
  staging: comedi: Grammar s/Enable support a/Enable support for a/
  Btrfs: Spelling s/consitent/consistent/
  README: GTK+ is a acronym
  ASoC: omap: Fix typo in config option description
  mm: tlb.c: Fix error message
  ntfs: super.c: Fix error log
  fix typo in Documentation/SubmittingPatches
  ...
</content>
</entry>
<entry>
<title>w1: Fix typo in MODULE_DESCRIPTION in matrox_w1.c</title>
<updated>2015-08-07T12:00:26Z</updated>
<author>
<name>Masanari Iida</name>
<email>standby24x7@gmail.com</email>
</author>
<published>2015-05-21T13:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b527538fe6f9506d619c09ee5f86b27d91e779e4'/>
<id>urn:sha1:b527538fe6f9506d619c09ee5f86b27d91e779e4</id>
<content type='text'>
This patch fix spelling typo in matrox_w1.c

Signed-off-by: Masanari Iida &lt;standby24x7@gmail.com&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>w1: Use module_pci_driver</title>
<updated>2015-08-05T20:48:20Z</updated>
<author>
<name>Vaishali Thakkar</name>
<email>vthakkar1994@gmail.com</email>
</author>
<published>2015-07-07T06:53:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e7390d7c52684ea338621eb3826a60e33a2bab9d'/>
<id>urn:sha1:e7390d7c52684ea338621eb3826a60e33a2bab9d</id>
<content type='text'>
Use module_pci_driver for drivers whose init and exit functions
only register and unregister, respectively.

A simplified version of the Coccinelle semantic patch that performs
this transformation is as follows:

@a@
identifier f, x;
@@
-static f(...) { return pci_register_driver(&amp;x); }

@b depends on a@
identifier e, a.x;
@@
-static e(...) { pci_unregister_driver(&amp;x); }

@c depends on a &amp;&amp; b@
identifier a.f;
declarer name module_init;
@@
-module_init(f);

@d depends on a &amp;&amp; b &amp;&amp; c@
identifier b.e, a.x;
declarer name module_exit;
declarer name module_pci_driver;
@@
-module_exit(e);
+module_pci_driver(x);

Signed-off-by: Vaishali Thakkar &lt;vthakkar1994@gmail.com&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: Drop owner assignment from i2c_driver</title>
<updated>2015-08-05T20:48:20Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>k.kozlowski@samsung.com</email>
</author>
<published>2015-07-10T06:38:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=01c48a59bae36f08ba27ed6bfe789aa0d14ee2a1'/>
<id>urn:sha1:01c48a59bae36f08ba27ed6bfe789aa0d14ee2a1</id>
<content type='text'>
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: use correct lock on error in w1_seq_show()</title>
<updated>2015-06-12T23:58:33Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2015-06-04T09:04:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0c6d5c89a112620d2166b8d042d3d69bb42b626c'/>
<id>urn:sha1:0c6d5c89a112620d2166b8d042d3d69bb42b626c</id>
<content type='text'>
I noticed there was a problem here because Smatch complained:

	drivers/w1/slaves/w1_therm.c:416 w1_seq_show() warn:
	inconsistent returns 'mutex:&amp;sl-&gt;master-&gt;mutex'.
	  Locked on:   line 416
	  Unlocked on: line 413

The problem is that we lock -&gt;mutex but we unlock -&gt;bus_mutex on error.
David Fries says that -&gt;bus_mutex is correct and -&gt;mutex is incorrect.

Fixes: d9411e57dc7f ('w1: Add support for DS28EA00 sequence to w1-therm')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: fix for loop exit condition in w1_seq_show()</title>
<updated>2015-06-12T23:58:33Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2015-06-01T09:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a14ef24b07b63669d58c16d836ddbadcce3e7ad0'/>
<id>urn:sha1:a14ef24b07b63669d58c16d836ddbadcce3e7ad0</id>
<content type='text'>
The W1_42_FINISHED_BYTE is 0xFF so the cast means the condition is
never true.

Fixes: d9411e57dc7f ('w1: Add support for DS28EA00 sequence to w1-therm')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: ds2482: Add i2c module alias name</title>
<updated>2015-06-01T01:29:50Z</updated>
<author>
<name>Ludek Hlavacek</name>
<email>ludek_h@seznam.cz</email>
</author>
<published>2015-05-26T22:37:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0dcacd768ea6fc5bdd7302d43d430b92e047c134'/>
<id>urn:sha1:0dcacd768ea6fc5bdd7302d43d430b92e047c134</id>
<content type='text'>
Add i2c alias to enable autoloading of the module for device specified
in device-tree.

Signed-off-by: Ludek Hlavacek &lt;ludek_h@seznam.cz&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: Add support for DS28EA00 sequence to w1-therm</title>
<updated>2015-05-24T19:08:59Z</updated>
<author>
<name>Matt Campbell</name>
<email>mattrcampbell@gmail.com</email>
</author>
<published>2015-04-28T11:44:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d9411e57dc7fcdbf28eb825d090b06b4248a95bc'/>
<id>urn:sha1:d9411e57dc7fcdbf28eb825d090b06b4248a95bc</id>
<content type='text'>
This patch provides support for the DS28EA00 digital thermometer.

The DS28EA00 provides an additional two pins for implementing a sequence
detection algorithm.  This feature allows you to determine the physical
location of the chip in the 1-wire bus without needing pre-existing
knowledge of the bus ordering.  Support is provided through the sysfs
w1_seq file.  The file will contain a single line with an integer value
representing the device index in the bus starting at 0.

Signed-off-by: Matt Campbell &lt;mattrcampbell@gmail.com&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1_therm reference count family data</title>
<updated>2015-05-24T19:08:59Z</updated>
<author>
<name>David Fries</name>
<email>David@Fries.net</email>
</author>
<published>2015-05-09T00:51:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f7134eea05b2fb4a2c0935f8a540539fff01f3eb'/>
<id>urn:sha1:f7134eea05b2fb4a2c0935f8a540539fff01f3eb</id>
<content type='text'>
A temperature conversion can take 750 ms and when possible the
w1_therm slave driver drops the bus_mutex to allow other bus
operations, but that includes operations such as a periodic slave
search, which can remove this slave when it is no longer detected.
If that happens the sl-&gt;family_data will be freed and set to NULL
causing w1_slave_show to crash when it wakes up.

Signed-off-by: David Fries &lt;David@Fries.net&gt;
Reported-By: Thorsten Bschorr &lt;thorsten@bschorr.de&gt;
Tested-by: Thorsten Bschorr &lt;thorsten@bschorr.de&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: introduce an ability to specify microseconds bus scanning intervals</title>
<updated>2015-05-24T19:08:59Z</updated>
<author>
<name>Dmitry Khromov</name>
<email>dk@icelogic.net</email>
</author>
<published>2015-05-12T19:29:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c3098356927254be270e5dc186a2ca144b64463b'/>
<id>urn:sha1:c3098356927254be270e5dc186a2ca144b64463b</id>
<content type='text'>
Some of 1-Wire devices commonly associated with physical access control
systems are attached/generate presence for as short as 100 ms - hence
the tens-to-hundreds milliseconds scan intervals are required.

Signed-off-by: Dmitry Khromov &lt;dk@icelogic.net&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
