commit | 983330210fe138e1194e0b2ccca02400ae41c0be | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Apr 08 12:41:53 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 28 22:16:10 2016 -0700 |
tree | bc35d98759ab6c1c6e18e9c7e9e103ff9c478407 | |
parent | fb90ec01bc8364a6ae7b8436c759f7541ebfd37f [diff] |
staging: comedi: das1800: document the spinlock The comedi_device spinlock is used to protect the indirect addressing selected by the DAS1800_SELECT register. It also prevents races between the interrupt handler and the analog input (*poll). Update the comments to make this clear. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>