Re: [PATCH 2/2] enhance sysfs rfkill interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Florian Mickler
Date: Saturday, March 13, 2010 - 2:41 am

On Fri, 12 Mar 2010 14:48:28 -0800
Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:


On Fri, 12 Mar 2010 18:48:19 -0500
Valdis.Kletnieks@vt.edu wrote:


i presume, there is no way any digital device could write _one bit_
partial :) 
so this _may_ actually be safe *g* 
 
how about the write in the _store() function? there we
read,update and write back the whole 32 bit which then potentially
overwrites some other flag concurrently set by an driver interrupt on
another cpu? i think the lock there is needed.

cheers,
Flo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] rfkill sysfs ABI , florian, (Fri Mar 12, 11:03 am)
[PATCH 1/2] Document the rfkill sysfs ABI, florian, (Fri Mar 12, 11:03 am)
[PATCH 2/2] enhance sysfs rfkill interface, florian, (Fri Mar 12, 11:03 am)
Re: [PATCH 0/2] rfkill sysfs ABI, Florian Mickler, (Fri Mar 12, 11:18 am)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Dmitry Torokhov, (Fri Mar 12, 11:22 am)
Re: [PATCH 0/2] rfkill sysfs ABI, John W. Linville, (Fri Mar 12, 12:52 pm)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Florian Mickler, (Fri Mar 12, 1:57 pm)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Dmitry Torokhov, (Fri Mar 12, 2:20 pm)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Florian Mickler, (Fri Mar 12, 3:39 pm)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Dmitry Torokhov, (Fri Mar 12, 3:48 pm)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Valdis.Kletnieks, (Fri Mar 12, 4:48 pm)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Florian Mickler, (Sat Mar 13, 2:41 am)
[PATCH] rename new rfkill sysfs knobs, florian, (Sat Mar 13, 2:44 am)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Dmitry Torokhov, (Sat Mar 13, 2:55 am)
Re: [PATCH] rename new rfkill sysfs knobs, Dmitry Torokhov, (Sat Mar 13, 2:56 am)
[PATCH v2] rename new rfkill sysfs knobs, florian, (Sat Mar 13, 5:31 am)
Re: [PATCH 2/2] enhance sysfs rfkill interface, Florian Mickler, (Sat Mar 13, 5:33 am)
Re: [PATCH v2] rename new rfkill sysfs knobs, Florian Mickler, (Thu Mar 18, 3:59 am)
Re: [PATCH v2] rename new rfkill sysfs knobs, John W. Linville, (Thu Mar 18, 6:42 am)