Commit 2c0dde6
committed
ASoC: SOF: sof-client-ipc-test: Protection against removal while in use
Make sure that the core (the device driver for the DSP) can not be removed
while the debugfs file for ipc_test is open (in use).
Add additional protection for the debugfs file to make sure that it can
not be removed while it is open.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent 746edf2 commit 2c0dde6
1 file changed
Lines changed: 37 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
34 | 60 | | |
35 | 61 | | |
36 | 62 | | |
| |||
250 | 276 | | |
251 | 277 | | |
252 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
253 | 288 | | |
254 | | - | |
| 289 | + | |
255 | 290 | | |
256 | 291 | | |
257 | 292 | | |
| 293 | + | |
258 | 294 | | |
259 | 295 | | |
260 | 296 | | |
| |||
0 commit comments