mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 19:40:56 +07:00
[media] drxk: Print an error if firmware is not loaded
If something bad happens during firmware load, an error should be printed at dmesg. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
bcd2ebb760
commit
39624f7ee8
@ -1395,8 +1395,10 @@ static int DownloadMicrocode(struct drxk_state *state,
|
||||
}
|
||||
|
||||
status = write_block(state, Address, BlockSize, pSrc);
|
||||
if (status < 0)
|
||||
if (status < 0) {
|
||||
printk(KERN_ERR "drxk: Error %d while loading firmware\n", status);
|
||||
break;
|
||||
}
|
||||
pSrc += BlockSize;
|
||||
offset += BlockSize;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user