fix: correct patch format — blank line between hunks
This commit is contained in:
@@ -1,12 +1,17 @@
|
|||||||
--- a/drivers/gpu/drm/panel/panel-cwu50.c
|
--- a/drivers/gpu/drm/panel/panel-cwu50.c
|
||||||
+++ b/drivers/gpu/drm/panel/panel-cwu50.c
|
+++ b/drivers/gpu/drm/panel/panel-cwu50.c
|
||||||
@@ -65,6 +65,8 @@ static void cwu50_init_sequence(struct cwu50 *ctx)
|
@@ -67,7 +67,9 @@ static void cwu50_init_sequence(struct cwu50 *ctx)
|
||||||
dcs_write_seq(0x72,0x06);
|
dcs_write_seq(0x72,0x06);
|
||||||
dcs_write_seq(0x75,0x03);
|
dcs_write_seq(0x75,0x03);
|
||||||
+ /* DSI_INIT0: set 4 lanes (bits[1:0]=11) — fixes lane count default */
|
+ /* DSI_INIT0: set 4 lanes (bits[1:0]=11) — fixes lane count default */
|
||||||
+ dcs_write_seq(0x80,0x03);
|
+ dcs_write_seq(0x80,0x03);
|
||||||
dcs_write_seq(0xE0,0x01);
|
dcs_write_seq(0xE0,0x01);
|
||||||
@@ -162,7 +164,7 @@ static int cwu50_probe(struct mipi_dsi_device *dsi)
|
+
|
||||||
|
dcs_write_seq(0x00,0x00);
|
||||||
|
dcs_write_seq(0x01,0x47);//VCOM0x47
|
||||||
|
dcs_write_seq(0x03,0x00);
|
||||||
|
|
||||||
|
@@ -164,7 +166,7 @@ static int cwu50_probe(struct mipi_dsi_device *dsi)
|
||||||
|
|
||||||
dsi->lanes = 4;
|
dsi->lanes = 4;
|
||||||
dsi->format = MIPI_DSI_FMT_RGB888;
|
dsi->format = MIPI_DSI_FMT_RGB888;
|
||||||
|
|||||||
Reference in New Issue
Block a user