commit | 6a6c4a4d459ecacc9013c45dcbf2bc9747fdbdbd | [log] [tgz] |
---|---|---|
author | Aric Cyr <aric.cyr@amd.com> | Thu Jan 30 14:46:53 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Feb 25 11:02:22 2020 -0500 |
tree | 3c9e13bf2c05f376ace7be9c7eac312d3075457b | |
parent | f739ce5768eddbe573c8b30d8ac109de67c57d29 [diff] |
drm/amd/display: dal_ddc_i2c_payloads_create can fail causing panic [Why] Since the i2c payload allocation can fail need to check return codes [How] Clean up i2c payload allocations and check for errors Signed-off-by: Aric Cyr <aric.cyr@amd.com> Reviewed-by: Joshua Aberback <Joshua.Aberback@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>