ast: Fix I2C corner cases wrt init/cleanup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 3 repliesSuperseded
Changes in v2 from the cover letter
* init edid to NULL to avoid uninitialized read
* drop test for drm_connector_init() for now
* move I2C code into separate source file
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/ast: Handle failed I2C initialization gracefullydrivers/ | +10 | 0 replies | |
| 2/3 | drm/ast: Convert I2C code to managed cleanupdrivers/ | +16 | 0 replies | |
| 3/3 | drm/ast: Move I2C code into separate source filedrivers/ drivers/ drivers/ +1 more | +156 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] ast: Fix I2C corner cases wrt init/cleanup
The VGA connector in ast is supposed to work without I2C. Currently, this isn't implemented correctly in several places. Fix this. Also add managed cleanup of the I2C code and move it into separate source file.
Tested on AST2100 hardware.
v2:
* init edid to NULL to avoid uninitialized read
* drop test for drm_connector_init() for now
* move I2C code into separate source file
Thomas Zimmermann (3):
drm/ast: Handle failed I2C initialization gracefully drm/ast: Convert I2C code to managed cleanup drm/ast: Move I2C code into separate source file
drivers/gpu/drm/ast/Makefile | 2 +- drivers/gpu/drm/ast/ast_drv.h | 3 + drivers/gpu/drm/ast/ast_i2c.c | 152 +++++++++++++++++++++++++++++++++ drivers/gpu/drm/ast/ast_mode.c | 151 +++----------------------------- 4 files changed, 167 insertions(+), 141 deletions(-) create mode 100644 drivers/gpu/drm/ast/ast_i2c.c
base-commit: 909bf926eaf382123d9b215871143d9e3cf44aa3 --
2.34.1