Commit 74641bf
ALSA: scarlett2: Return ENOSPC for out-of-bounds flash writes
When writing to flash, return ENOSPC instead of EINVAL if the requested
write would exceed the size of the flash segment.
Signed-off-by: Geoffrey D. Bennett <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://patch.msgid.link/[email protected]1 parent 5c29308 commit 74641bf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9516 | 9516 | | |
9517 | 9517 | | |
9518 | 9518 | | |
9519 | | - | |
| 9519 | + | |
9520 | 9520 | | |
9521 | 9521 | | |
9522 | 9522 | | |
| |||
0 commit comments