diff options
author | Martin Roth <martin@coreboot.org> | 2020-07-28 09:42:07 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-08-03 05:08:39 +0000 |
commit | 114cf22e8d9881aedc9ee72af5dfac74fdff5627 (patch) | |
tree | 4c468eb31969549abfd519a736d894ad1a9a1a3b /src/drivers/soundwire | |
parent | 6880aec670661d961ab9baeb7fab0595d0ba906c (diff) |
drivers/amd/i2s_machine_dev: return if scope is NULL
Avoid dereferencing a null pointer.
Found-by: Coverity CID 1430549
BUG=None
TEST=Build
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I53f6a38aac6e7f94c3c370996b3b82ca0d88dac4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44001
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/soundwire')
0 files changed, 0 insertions, 0 deletions