ret = dcp_wait_ready(dcp[i], wait);
/* There is nothing we can do if a dcp/dcpext does not boot
* (successfully). Ignoring it should not do any harm now.
- * Needs to reevaluated whenn adding dcpext support.
+ * Needs to reevaluated when adding dcpext support.
*/
if (ret)
dev_warn(dev, "DCP[%d] not ready: %d\n", i, ret);
int width_mm;
/// panel height in millimeter
int height_mm;
- /// panel has a mini-LED backllight
+ /// panel has a mini-LED backlight
bool has_mini_led;
};
if (dcp->notch_height > 0)
dev_info(dev, "Detected display with notch of %u pixel\n", dcp->notch_height);
- /* intialize brightness scale to a sensible default to avoid divide by 0*/
+ /* initialize brightness scale to a sensible default to avoid divide by 0*/
dcp->brightness.scale = 65536;
panel_np = of_get_compatible_child(dev->of_node, "apple,panel-mini-led");
if (panel_np)
dcp->rtk = devm_apple_rtkit_init(dev, dcp, "mbox", 0, &rtkit_ops);
if (IS_ERR(dcp->rtk))
return dev_err_probe(dev, PTR_ERR(dcp->rtk),
- "Failed to intialize RTKit");
+ "Failed to initialize RTKit");
ret = apple_rtkit_wake(dcp->rtk);
if (ret)
out = in + hdr->in_len;
// TODO: verify that in_len and out_len match our prototypes
- // for now just clear the out data to have at least consistant results
+ // for now just clear the out data to have at least consistent results
if (hdr->out_len)
memset(out, 0, hdr->out_len);
/*
* Allocate an IOVA contiguous buffer mapped to the DCP. The buffer need not be
- * physically contigiuous, however we should save the sgtable in case the
+ * physically contiguous, however we should save the sgtable in case the
* buffer needs to be later mapped for PIODMA.
*/
static struct dcp_allocate_buffer_resp
[110] = trampoline_true, /* create_pmu_service */
[111] = trampoline_true, /* create_iomfb_service */
[112] = trampoline_create_backlight_service,
- [113] = trampoline_true, /* create_nvram_servce? */
+ [113] = trampoline_true, /* create_nvram_service? */
[114] = trampoline_get_tiling_state,
[115] = trampoline_false, /* set_tiling_state */
[120] = dcpep_cb_boot_1,