dsi.c (ec97f371895f83fb0c123187d26d19bdb927621f) dsi.c (89cdd4dee1f04a418ce86d62927e6bf6502d20fe)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 */
5
6#include "dsi.h"
7
8bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi)

--- 222 unchanged lines hidden (view full) ---

231 !msm_dsi_is_master_dsi(msm_dsi)) {
232 /*
233 * Do not return an eror here,
234 * Just skip creating encoder/connector for the slave-DSI.
235 */
236 return 0;
237 }
238
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 */
5
6#include "dsi.h"
7
8bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi)

--- 222 unchanged lines hidden (view full) ---

231 !msm_dsi_is_master_dsi(msm_dsi)) {
232 /*
233 * Do not return an eror here,
234 * Just skip creating encoder/connector for the slave-DSI.
235 */
236 return 0;
237 }
238
239 msm_dsi->encoder = encoder;
240
241 bridge = msm_dsi_manager_bridge_init(msm_dsi);
239 bridge = msm_dsi_manager_bridge_init(msm_dsi, encoder);
242 if (IS_ERR(bridge)) {
243 ret = PTR_ERR(bridge);
244 DRM_DEV_ERROR(dev->dev, "failed to create dsi bridge: %d\n", ret);
245 return ret;
246 }
247
248 ret = msm_dsi_manager_ext_bridge_init(msm_dsi->id, bridge);
249 if (ret) {

--- 14 unchanged lines hidden ---
240 if (IS_ERR(bridge)) {
241 ret = PTR_ERR(bridge);
242 DRM_DEV_ERROR(dev->dev, "failed to create dsi bridge: %d\n", ret);
243 return ret;
244 }
245
246 ret = msm_dsi_manager_ext_bridge_init(msm_dsi->id, bridge);
247 if (ret) {

--- 14 unchanged lines hidden ---