Skip to content

Commit 053a2a0

Browse files
pelwellpopcornmix
authored andcommitted
misc: rp1-pio: Demote fw probe error to warning
Support for the RP1 firmware mailbox API is rolling out to Pi 5 EEPROM images. For most users, the fact that the PIO is not available is no cause for alarm. Change the message to a warning, so that it does not appear with "quiet" in cmdline.txt. Link: #6642 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 0fabcd5 commit 053a2a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/misc/rp1-pio.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -1279,8 +1279,10 @@ static int rp1_pio_probe(struct platform_device *pdev)
12791279
fw = devm_rp1_firmware_get(dev, dev->of_node);
12801280
if (!fw)
12811281
return dev_err_probe(dev, -EPROBE_DEFER, "failed to find RP1 firmware driver\n");
1282-
if (IS_ERR(fw))
1283-
return dev_err_probe(dev, PTR_ERR(fw), "failed to contact RP1 firmware\n");
1282+
if (IS_ERR(fw)) {
1283+
dev_warn(dev, "failed to contact RP1 firmware\n");
1284+
return PTR_ERR(fw);
1285+
}
12841286
ret = rp1_firmware_get_feature(fw, FOURCC_PIO, &op_base, &op_count);
12851287
if (ret < 0)
12861288
return ret;

0 commit comments

Comments
 (0)