<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/w1/masters, branch linux-4.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-04-08T16:20:57Z</updated>
<entry>
<title>w1: Remove unneeded use of assert() and remove w1_log.h</title>
<updated>2017-04-08T16:20:57Z</updated>
<author>
<name>Andrew F. Davis</name>
</author>
<published>2017-03-16T15:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91bd2855edbc6a941bf0b16990fbf2894c41c388'/>
<id>urn:sha1:91bd2855edbc6a941bf0b16990fbf2894c41c388</id>
<content type='text'>
The only use of assert() is in matrox_w1.c and is used to check the input
to probe() from the PCI subsystem for NULL values, these are guaranteed
to be populated and no other PCI driver makes this check, remove this.

As this was the only definition in w1_log.h, remove this also.

Signed-off-by: Andrew F. Davis &lt;afd@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: ds2490: use kmemdup rather than duplicating its implementation</title>
<updated>2017-02-10T14:32:53Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2017-02-09T15:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45003a1e251a9777a55ab46bc49f6ddf747f7f94'/>
<id>urn:sha1:45003a1e251a9777a55ab46bc49f6ddf747f7f94</id>
<content type='text'>
Use kmemdup rather than duplicating its implementation.

Generated by: scripts/coccinelle/api/memdup.cocci

Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Acked-by: Maciej S. Szmigiero &lt;mail@maciej.szmigiero.name&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: ds2490: USB transfer buffers need to be DMAable</title>
<updated>2017-01-25T10:46:42Z</updated>
<author>
<name>Maciej S. Szmigiero</name>
</author>
<published>2017-01-18T20:31:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61cd1b4cd1e8f7f7642ab64529d9bd52e8374641'/>
<id>urn:sha1:61cd1b4cd1e8f7f7642ab64529d9bd52e8374641</id>
<content type='text'>
ds2490 driver was doing USB transfers from / to buffers on a stack.
This is not permitted and made the driver non-working with vmapped stacks.

Since all these transfers are done under the same bus_mutex lock we can
simply use shared buffers in a device private structure for two most common
of them.

While we are at it, let's also fix a comparison between int and size_t in
ds9490r_search() which made the driver spin in this function if state
register get requests were failing.

Signed-off-by: Maciej S. Szmigiero &lt;mail@maciej.szmigiero.name&gt;
Cc: stable &lt;stable@vger.kernel.org&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: omap_hdq: Free resources on error path</title>
<updated>2017-01-25T10:46:42Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-01-09T00:13:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8333eb153a9fd86028abd0942c6aec0705764410'/>
<id>urn:sha1:8333eb153a9fd86028abd0942c6aec0705764410</id>
<content type='text'>
In case of error returned by '_omap_hdq_reset()', free resources as done
elsewhere in this function.

This patch slighly changes the semantic of the code. It now propagates the
error code returned by '_omap_hdq_reset()' instead of returning -EINVAL
unconditionally.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&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:omap_hdq: fix regression</title>
<updated>2016-08-02T23:35:40Z</updated>
<author>
<name>H. Nikolaus Schaller</name>
</author>
<published>2016-08-02T21:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ecfaf0c42fc4306b5ec4bf6be01b66f8fe9a9733'/>
<id>urn:sha1:ecfaf0c42fc4306b5ec4bf6be01b66f8fe9a9733</id>
<content type='text'>
Commit e93762bbf681 ("w1: masters: omap_hdq: add support for 1-wire
mode") added a statement to clear the hdq_irqstatus flags in
hdq_read_byte().

If the hdq reading process is scheduled slowly or interrupts are
disabled for a while the hardware read activity might already be
finished on entry of hdq_read_byte().  And hdq_isr() already has set the
hdq_irqstatus to 0x6 (can be seen in debug mode) denoting that both, the
TXCOMPLETE and RXCOMPLETE interrupts occurred in parallel.

This means there is no need to wait and the hdq_read_byte() can just
read the byte from the hdq controller.

By resetting hdq_irqstatus to 0 the read process is forced to be always
waiting again (because the if statement always succeeds) but the
hardware will not issue another RXCOMPLETE interrupt.  This results in a
false timeout.

After such a situation the hdq bus hangs.

Link: http://lkml.kernel.org/r/b724765f87ad276a69625bc19806c8c8844c4590.1469513669.git.hns@goldelico.com
Signed-off-by: H. Nikolaus Schaller &lt;hns@goldelico.com&gt;
Cc: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>w1: enable active pullup for DS2482 by default</title>
<updated>2016-05-01T21:04:19Z</updated>
<author>
<name>Mariusz Bialonczyk</name>
</author>
<published>2016-03-29T16:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f704938c0ef1e3224e66b16d5b358f02cd351240'/>
<id>urn:sha1:f704938c0ef1e3224e66b16d5b358f02cd351240</id>
<content type='text'>
This commit enables the active pullup (APU bit) by default for
the DS2482 1-Wire master.

&gt;From the DS2482 datasheet:
"The APU bit controls whether an active pullup (controlled slew-rate
transistor) or a passive pullup (Rwpu resistor) will be used to drive
a 1-Wire line from low to high. When APU = 0, active pullup is disabled
(resistor mode). Active Pullup should always be selected unless there is
only a single slave on the 1-Wire line."

According to the module author, Ben Gardner:
"It doesn't look like active pullup would cause any hurt if there
is only a single slave."
And my tests with multiple and single slaves on 1-Wire bus
confirms that.

This active pullup can be manually disabled using the introduced
module parameter:
  active_pullup = 0

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>omap_hdq: fix usecount handling</title>
<updated>2016-02-08T22:57:30Z</updated>
<author>
<name>Andreas Kemnade</name>
</author>
<published>2016-01-04T15:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b46a105dbb7b67ea1f2f63a0b3ec29ab64e1bd3'/>
<id>urn:sha1:7b46a105dbb7b67ea1f2f63a0b3ec29ab64e1bd3</id>
<content type='text'>
hdq_usecount was set to zero after a successful read, so
omap_hdq_put could not properly free resources which leads
e.g. to increasing usecounts in lsmod output

Signed-off-by: Andreas Kemnade &lt;andreas@kemnade.info&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Reviewed-by: Vignesh R &lt;vigneshr@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>W1: w1-gpio - switch to using dev_pm_ops</title>
<updated>2015-10-18T04:45:05Z</updated>
<author>
<name>Dmitry Torokhov</name>
</author>
<published>2015-10-17T18:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=36fccce0e82a5ccd1c7f3861398f3303bff4669a'/>
<id>urn:sha1:36fccce0e82a5ccd1c7f3861398f3303bff4669a</id>
<content type='text'>
Let's stop using legacy platform driver hooks for power management and
switch to using the standard dev_pm_ops-based hooks.

Also, instead of guarding PM methods with #ifdef CONFIG_PM annotate them
as __maybe_unused as it provides better compile coverage.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: masters: omap_hdq: add support for 1-wire mode</title>
<updated>2015-10-05T03:47:09Z</updated>
<author>
<name>Vignesh R</name>
</author>
<published>2015-09-14T17:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e93762bbf68143594223024532fdeef71f5e8f75'/>
<id>urn:sha1:e93762bbf68143594223024532fdeef71f5e8f75</id>
<content type='text'>
This patches makes following changes to omap_hdq driver
 - Enable 1-wire mode.
 - Implement w1_triplet callback to facilitate search rom
   procedure and auto detection of 1-wire slaves.
 - Proper enabling and disabling of interrupt.
 - Cleanups (formatting and return value checks).

HDQ mode remains unchanged.

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Cc: Rob Herring &lt;robh+dt@kernel.org&gt;
Cc: Pawel Moll &lt;pawel.moll@arm.com&gt;
Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: Ian Campbell &lt;ijc+devicetree@hellion.org.uk&gt;
Cc: Kumar Gala &lt;galak@codeaurora.org&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;
CC: Tony Lindgren &lt;tony@atomide.com&gt;
Cc: Vignesh R &lt;vigneshr@ti.com&gt;
Cc: NeilBrown &lt;neilb@suse.de&gt;
Cc: Fabian Frederick &lt;fabf@skynet.be&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<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>
</author>
<published>2015-09-02T01:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
</feed>
