diff options
| author | 2016-03-22 11:10:45 -0700 | |
|---|---|---|
| committer | 2016-03-28 07:30:36 -0700 | |
| commit | f229594a327720c0761e7307a5472aea780268c3 (patch) | |
| tree | f9bdb4f7f13edb694fd2c8b1dcf584305ddd9569 /scripts/stackusage | |
| parent | staging: comedi: ni_660x: init TIO chips before subdevice init (diff) | |
staging: comedi: ni_660x: allocate counters early in (*auto_attach)
The ni_gpct_device_construct() could fail allocating the memory for
device and its counters. For aesthetics, call the function before
initializing the subdevices.
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>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
