diff options
author | Vic (Chun-Ju) Yang <victoryang@chromium.org> | 2013-12-16 16:09:20 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-12-17 09:31:06 +0000 |
commit | a905b84fd1264d826b8e724839f52925a38f5926 (patch) | |
tree | 1d143d2a9158e2d4698971772ff0b76779728523 /README.fmap | |
parent | 1af1c74c100e6b72d2570d3f082f82a292a29a0e (diff) | |
download | chrome-ec-release-R33-5116.B.tar.gz |
mec1322: handle dummy GPIO gracefullystabilize-springlte-5116.46.Bstabilize-5116.88.Bstabilize-5116.53.Bstabilize-5116.115.Bstabilize-5116.113.Brelease-R33-5116.B
When a GPIO signal is defined by GPIO_SIGNAL_NOT_IMPLEMENTED, it should
still be able to call various GPIO methods on that GPIO signal. Since
__builtin_clz dies when the value passed in is zero, we need to check
this before calling __builtin_clz.
BUG=chrome-os-partner:24107
TEST='sysjump RW' and the system doesn't crash
BRANCH=None
Change-Id: I5025a2f218d549316fe096c07bd3c7207fe9dbc2
Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/180183
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'README.fmap')
0 files changed, 0 insertions, 0 deletions