Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fsi: sbefifo: Don't check status during probe

The status check during probe doesn't serve any purpose. Any attempt
to use the SBEFIFO will result in the same check and cleanup.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230612195657.245125-5-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Eddie James and committed by
Joel Stanley
d6ce872e c21d322e

-8
-8
drivers/fsi/fsi-sbefifo.c
··· 1027 1027 mutex_init(&sbefifo->lock); 1028 1028 sbefifo->timeout_start_rsp_ms = SBEFIFO_TIMEOUT_START_RSP; 1029 1029 1030 - /* 1031 - * Try cleaning up the FIFO. If this fails, we still register the 1032 - * driver and will try cleaning things up again on the next access. 1033 - */ 1034 - rc = sbefifo_cleanup_hw(sbefifo); 1035 - if (rc && rc != -ESHUTDOWN) 1036 - dev_err(dev, "Initial HW cleanup failed, will retry later\n"); 1037 - 1038 1030 /* Create chardev for userspace access */ 1039 1031 sbefifo->dev.type = &fsi_cdev_type; 1040 1032 sbefifo->dev.parent = dev;