All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-5.4 v2 0/2] fsi: Disable link when slave init fails
@ 2020-06-09 21:39 Eddie James
  2020-06-09 21:39 ` [PATCH linux dev-5.4 v2 1/2] fsi: master: Add boolean parameter to link_enable function Eddie James
  2020-06-09 21:39 ` [PATCH linux dev-5.4 v2 2/2] fsi: core: Disable link when slave init fails Eddie James
  0 siblings, 2 replies; 3+ messages in thread
From: Eddie James @ 2020-06-09 21:39 UTC (permalink / raw)
  To: openbmc; +Cc: joel, andrew, Eddie James

This series modifies the link_enable function to accept a boolean parameter to
indicate whether to enable or disable the link. Then, it disables the link when
initialization of the slave fails or if there is no slave on the link.

Changes since v1:
 - Drop the change to remove the read-back after link enable
 - Rework the layout of the boolean handling.
 - Add some detail to commit messages.

Eddie James (2):
  fsi: master: Add boolean parameter to link_enable function
  fsi: core: Disable link when slave init fails

 drivers/fsi/fsi-core.c          | 15 +++++++++++++--
 drivers/fsi/fsi-master-aspeed.c |  7 ++++++-
 drivers/fsi/fsi-master-ast-cf.c |  5 +++--
 drivers/fsi/fsi-master-gpio.c   |  5 +++--
 drivers/fsi/fsi-master-hub.c    |  7 ++++++-
 drivers/fsi/fsi-master.h        |  3 ++-
 6 files changed, 33 insertions(+), 9 deletions(-)

-- 
2.24.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-09 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-09 21:39 [PATCH linux dev-5.4 v2 0/2] fsi: Disable link when slave init fails Eddie James
2020-06-09 21:39 ` [PATCH linux dev-5.4 v2 1/2] fsi: master: Add boolean parameter to link_enable function Eddie James
2020-06-09 21:39 ` [PATCH linux dev-5.4 v2 2/2] fsi: core: Disable link when slave init fails Eddie James

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.