<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/w1, branch v3.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/w1?h=v3.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/w1?h=v3.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-12-10T03:19:18Z</updated>
<entry>
<title>w1: add fast search for single slave bus</title>
<updated>2011-12-10T03:19:18Z</updated>
<author>
<name>Evgeniy Polyakov</name>
<email>zbr@ioremap.net</email>
</author>
<published>2011-12-10T01:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c9cbf558e7793d312a4dd5d839ad7eae1aa8bd12'/>
<id>urn:sha1:c9cbf558e7793d312a4dd5d839ad7eae1aa8bd12</id>
<content type='text'>
This enables a much more efficient way of device searching. It uses the
1-wire read-rom operation which allows the direct reading of the slave
address. BUT this works only with exactly one slave on the bus.

Signed-off-by: Hubert Feurstein &lt;h.feurstein@gmail.com&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;

index c374978..9761950 100644
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: convert some miscellanies drivers to use module_usb_driver()</title>
<updated>2011-11-18T17:52:10Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-11-18T17:52:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fe7484834bb614c2c205726647635171ce6cc070'/>
<id>urn:sha1:fe7484834bb614c2c205726647635171ce6cc070</id>
<content type='text'>
This converts the remaining USB drivers in the kernel to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.

Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.

Cc: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Till Harbaum &lt;till@harbaum.org&gt;
Cc: Karsten Keil &lt;isdn@linux-pingi.de&gt;
Cc: Chris Ball &lt;cjb@laptop.org&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Lauro Ramos Venancio &lt;lauro.venancio@openbossa.org&gt;
Cc: Aloisio Almeida Jr &lt;aloisio.almeida@openbossa.org&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Cc: Steve Glendinning &lt;steve.glendinning@smsc.com&gt;
Cc: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Cc: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Cc: Wim Van Sebroeck &lt;wim@iguana.be&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Jesper Juhl &lt;jj@chaosbits.net&gt;
Cc: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Cc: Jamie Iles &lt;jamie@jamieiles.com&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>W1: w1_therm: release the bus during conversion on externally powered devices</title>
<updated>2011-11-17T19:47:56Z</updated>
<author>
<name>Maciej Szmigiero</name>
<email>mhej@o2.pl</email>
</author>
<published>2011-11-15T23:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=377195c438fc5e9e4ca59e69382c10771d817d6a'/>
<id>urn:sha1:377195c438fc5e9e4ca59e69382c10771d817d6a</id>
<content type='text'>
w1_therm devices can either be bus powered or externally powered.

When device is bus powered during temperature conversion the bus
have to be left high to provide necessary power. Some masters also allow
strong power-up to be enabled in this case.
Naturally, no communication over bus can occur during that time.

However, if device has external power then there is no such restriction,
and host can talk to other devices during temperature conversion.

There is command which allows us to check how device is powered,
this patch uses it to release the bus on externally w1_therm powered devices
during temperature conversion.

Also, this changes uninterruptible sleeps there into interruptible ones to
avoid long uninterruptible sleep if w1 subsystem happens to grab bus for
scan during w1_therm_read().

Signed-off-by: Maciej Szmigiero &lt;mhej@o2.pl&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux</title>
<updated>2011-11-07T03:44:47Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-11-07T03:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=32aaeffbd4a7457bf2f7448b33b5946ff2a960eb'/>
<id>urn:sha1:32aaeffbd4a7457bf2f7448b33b5946ff2a960eb</id>
<content type='text'>
* 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
  Revert "tracing: Include module.h in define_trace.h"
  irq: don't put module.h into irq.h for tracking irqgen modules.
  bluetooth: macroize two small inlines to avoid module.h
  ip_vs.h: fix implicit use of module_get/module_put from module.h
  nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
  include: replace linux/module.h with "struct module" wherever possible
  include: convert various register fcns to macros to avoid include chaining
  crypto.h: remove unused crypto_tfm_alg_modname() inline
  uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
  pm_runtime.h: explicitly requires notifier.h
  linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
  miscdevice.h: fix up implicit use of lists and types
  stop_machine.h: fix implicit use of smp.h for smp_processor_id
  of: fix implicit use of errno.h in include/linux/of.h
  of_platform.h: delete needless include &lt;linux/module.h&gt;
  acpi: remove module.h include from platform/aclinux.h
  miscdevice.h: delete unnecessary inclusion of module.h
  device_cgroup.h: delete needless include &lt;linux/module.h&gt;
  net: sch_generic remove redundant use of &lt;linux/module.h&gt;
  net: inet_timewait_sock doesnt need &lt;linux/module.h&gt;
  ...

Fix up trivial conflicts (other header files, and  removal of the ab3550 mfd driver) in
 - drivers/media/dvb/frontends/dibx000_common.c
 - drivers/media/video/{mt9m111.c,ov6650.c}
 - drivers/mfd/ab3550-core.c
 - include/linux/dmaengine.h
</content>
</entry>
<entry>
<title>w1: disable irqs in critical section</title>
<updated>2011-11-02T23:07:03Z</updated>
<author>
<name>Jan Weitzel</name>
<email>j.weitzel@phytec.de</email>
</author>
<published>2011-11-02T20:40:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3fd306c85adcde7209281cb663dd8ea247e97cc3'/>
<id>urn:sha1:3fd306c85adcde7209281cb663dd8ea247e97cc3</id>
<content type='text'>
Interrupting w1_delay() in w1_read_bit() results in missing the low level
on the w1 line and receiving "1" instead of "0".

Add local_irq_save()/local_irq_restore() around the critical section

Signed-off-by: Jan Weitzel &lt;j.weitzel@phytec.de&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&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>drivers/w1/w1_int.c: multiple masters used same init_name</title>
<updated>2011-11-02T23:07:03Z</updated>
<author>
<name>Florian Faber</name>
<email>faber@faberman.de</email>
</author>
<published>2011-11-02T20:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=68a436aec345c2bcd05dbdafae1f5f608ff8f61f'/>
<id>urn:sha1:68a436aec345c2bcd05dbdafae1f5f608ff8f61f</id>
<content type='text'>
When using multiple masters, w1_int.c would use the .init_name from w1.c
for all entities, which will fail when creating a corresponding sysfs
entry.  This patch uses the unique name previously generated.

  WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0x48/0x64()
  sysfs: cannot create duplicate filename '/devices/w1 bus master'
  Modules linked in:
  Call trace:
   [&lt;9001a604&gt;] warn_slowpath_common+0x34/0x44
   [&lt;9001a64c&gt;] warn_slowpath_fmt+0x14/0x18
   [&lt;90078020&gt;] sysfs_add_one+0x48/0x64
   [&lt;900784ec&gt;] create_dir+0x40/0x68
   [&lt;9007857a&gt;] sysfs_create_dir+0x66/0x78
   [&lt;900c1a8a&gt;] kobject_add_internal+0x6e/0x104
   [&lt;900c1bc0&gt;] kobject_add_varg+0x20/0x2c
   [&lt;900c1c1c&gt;] kobject_add+0x30/0x3c
   [&lt;900dbd66&gt;] device_add+0x6a/0x378
   [&lt;900dbb4a&gt;] device_initialize+0x12/0x48
   [&lt;900dc080&gt;] device_register+0xc/0x10
   [&lt;900f99be&gt;] w1_add_master_device+0x162/0x274
   [&lt;90008e7a&gt;] w1_gpio_probe+0x66/0xb4
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;900dde54&gt;] platform_drv_probe+0xc/0xe
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;900dd4f8&gt;] driver_probe_device+0x6c/0xdc
   [&lt;900dd5fc&gt;] __driver_attach+0x34/0x48
   [&lt;900dcce8&gt;] bus_for_each_dev+0x2c/0x48
   [&lt;900dd5c8&gt;] __driver_attach+0x0/0x48
   [&lt;900dd38c&gt;] driver_attach+0x10/0x14
   [&lt;900dd16a&gt;] bus_add_driver+0x6a/0x18c
   [&lt;900dd768&gt;] driver_register+0x60/0xb8
   [&lt;90011594&gt;] __initcall_w1_therm_init6+0x0/0x4
   [&lt;90008e00&gt;] w1_gpio_init+0x0/0x14
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;900ddf48&gt;] platform_driver_register+0x30/0x38
   [&lt;90011594&gt;] __initcall_w1_therm_init6+0x0/0x4
   [&lt;90008e00&gt;] w1_gpio_init+0x0/0x14
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;900ddf5e&gt;] platform_driver_probe+0xe/0x3c
   [&lt;90008e0c&gt;] w1_gpio_init+0xc/0x14
   [&lt;90011594&gt;] __initcall_w1_therm_init6+0x0/0x4
   [&lt;90008e00&gt;] w1_gpio_init+0x0/0x14
   [&lt;900126d4&gt;] do_one_initcall+0x34/0x130
   [&lt;90000372&gt;] kernel_init+0x66/0xe8
   [&lt;90011594&gt;] __initcall_w1_therm_init6+0x0/0x4
   [&lt;9001ca3e&gt;] do_exit+0x0/0x3a6
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;9001ca3e&gt;] do_exit+0x0/0x3a6

  ---[ end trace 5a9233884fead918 ]---
  kobject_add_internal failed for w1 bus master with -EEXIST, don't try to register things with the same name in the same directory.

Signed-off-by: Florian Faber &lt;faber@faberman.de&gt;
Cc: Evgeniy Polyakov &lt;zbr@ioremap.net&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>drivers/power/ds2780_battery.c: add a nolock function to w1 interface</title>
<updated>2011-11-02T23:07:03Z</updated>
<author>
<name>Clifton Barnes</name>
<email>cabarnes@indesign-llc.com</email>
</author>
<published>2011-11-02T20:39:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9fe678fa2feb4aaac0b4220de63e1b7f8ccebae6'/>
<id>urn:sha1:9fe678fa2feb4aaac0b4220de63e1b7f8ccebae6</id>
<content type='text'>
Adds a nolock function to the w1 interface to avoid locking the
mutex if needed.

Signed-off-by: Clifton Barnes &lt;cabarnes@indesign-llc.com&gt;
Cc: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Cc: &lt;stable@kernel.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: ds2760 and ds2780, use ida for id and ida_simple_get() to get it</title>
<updated>2011-11-02T23:07:02Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@cam.ac.uk</email>
</author>
<published>2011-11-02T20:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3e5428177c74df7f3b8c59b2f27f46b82b077e94'/>
<id>urn:sha1:3e5428177c74df7f3b8c59b2f27f46b82b077e94</id>
<content type='text'>
Straightforward.  As an aside, the ida_init calls are not needed as far as
I can see needed.  (DEFINE_IDA does the same already).

Signed-off-by: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Cc: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Acked-by: Clifton Barnes &lt;cabarnes@indesign-llc.com&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>drivers/w1: Add moduleparam.h to drivers/w1/w1_int.c</title>
<updated>2011-10-31T23:32:00Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-09-16T03:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4d184129b2f91e41d357e920a25a83317d79dfe2'/>
<id>urn:sha1:4d184129b2f91e41d357e920a25a83317d79dfe2</id>
<content type='text'>
It doesn't need the full module.h but it was getting moduleparam.h
from the fact that module.h was everywhere.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>drivers/w1: Add export.h for EXPORT_SYMBOL/THIS_MODULE</title>
<updated>2011-10-31T23:32:00Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-07-10T17:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9623932cd5815e280cef5ebb54b5ee92bec382ad'/>
<id>urn:sha1:9623932cd5815e280cef5ebb54b5ee92bec382ad</id>
<content type='text'>
Give these files export.h so that they can reliably get the EXPORT_SYMBOL
and THIS_MODULE macros in the future, once module.h isn't implicitly
everywhere.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
</feed>
