aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorThierry Escande <[email protected]>2016-06-16 20:24:43 +0200
committerSamuel Ortiz <[email protected]>2016-07-06 10:09:47 +0200
commit82e57952869fbbdf09d8f9e7ac284df13741e93d (patch)
tree3c2068c7d7970eaedb477c6139c788c5d3be9cfb /lib/mpi/mpi-bit.c
parent3f89fea35fc37b326d6b3697fcc9cba235a60811 (diff)
NFC: digital: Call pending command callbacks at device unregister
With this patch, when freeing the command queue in the module unregister function, the callbacks of the commands still queued are called with a ENODEV error. This gives a chance to the command issuer to free any memory it could have allocate. Signed-off-by: Thierry Escande <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions