mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
Char: moxa, add firmware loading fix
Be more verbose on fw load fail as noted by Oyvind. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Oyvind Aabling <Oyvind.Aabling@uni-c.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b9705b603d
commit
ec09cd5621
1 changed files with 4 additions and 1 deletions
|
@ -846,7 +846,10 @@ static int moxa_init_board(struct moxa_board_conf *brd, struct device *dev)
|
||||||
|
|
||||||
ret = request_firmware(&fw, file, dev);
|
ret = request_firmware(&fw, file, dev);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printk(KERN_ERR "request_firmware failed\n");
|
printk(KERN_ERR "MOXA: request_firmware failed. Make sure "
|
||||||
|
"you've placed '%s' file into your firmware "
|
||||||
|
"loader directory (e.g. /lib/firmware)\n",
|
||||||
|
file);
|
||||||
goto err_free;
|
goto err_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue