From: Eddie James <eajames@linux.ibm.com>
To: openbmc@lists.ozlabs.org
Cc: joel@jms.id.au, andrew@aj.id.au, Eddie James <eajames@linux.ibm.com>
Subject: [PATCH linux dev-5.4 v2 0/2] fsi: Disable link when slave init fails
Date: Tue, 9 Jun 2020 16:39:26 -0500 [thread overview]
Message-ID: <20200609213928.26545-1-eajames@linux.ibm.com> (raw)
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
next reply other threads:[~2020-06-09 21:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-09 21:39 Eddie James [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200609213928.26545-1-eajames@linux.ibm.com \
--to=eajames@linux.ibm.com \
--cc=andrew@aj.id.au \
--cc=joel@jms.id.au \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.