Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
This commit is contained in:
@@ -164,7 +164,7 @@ nv_crtc_dpms(struct drm_crtc *crtc, int mode)
|
||||
NV_DEBUG_KMS(dev, "Setting dpms mode %d on CRTC %d\n", mode,
|
||||
nv_crtc->index);
|
||||
|
||||
if (nv_crtc->last_dpms == mode) /* Don't do unnecesary mode changes. */
|
||||
if (nv_crtc->last_dpms == mode) /* Don't do unnecessary mode changes. */
|
||||
return;
|
||||
|
||||
nv_crtc->last_dpms = mode;
|
||||
@@ -677,7 +677,7 @@ static void nv_crtc_prepare(struct drm_crtc *crtc)
|
||||
|
||||
NVBlankScreen(dev, nv_crtc->index, true);
|
||||
|
||||
/* Some more preperation. */
|
||||
/* Some more preparation. */
|
||||
NVWriteCRTC(dev, nv_crtc->index, NV_PCRTC_CONFIG, NV_PCRTC_CONFIG_START_ADDRESS_NON_VGA);
|
||||
if (dev_priv->card_type == NV_40) {
|
||||
uint32_t reg900 = NVReadRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_900);
|
||||
|
Referens i nytt ärende
Block a user