Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: elcdif: Fix register writting issue in SetPixelFormat #383

Merged

Conversation

trunghieulenxp
Copy link
Contributor

@trunghieulenxp trunghieulenxp commented May 3, 2024

Currently, when setting pixel format, all the previous values of the CTRL1 register, even not related to pixel format, are unwantedly cleared. This leads to some erroneous behaviors, for example, the interrupts will be disabled.

Fix it by modifying only the related bits of the CTRL1 register.

This was also merged to github mcux-sdk: nxp-mcuxpresso/mcux-sdk@84cd686

@trunghieulenxp
Copy link
Contributor Author

trunghieulenxp commented May 3, 2024

Hi @mmahadevan108

Could you please help to review this PR please?

Thanks.

@trunghieulenxp
Copy link
Contributor Author

Hi @dleach02, @mmahadevan108,

Could you help me to review this PR, please? Because the PR 72930 is dependent on this patch.

Thanks.

When setting pixel format, all the previous values of the CTRL1 register,
even not related to pixel format, are unwantedly cleared. This leads to
some erroneous behaviors, for example, the interrupts will be disabled.

Fix it by modifying only the related bits of the CTRL1 register.

Signed-off-by: Trung Hieu Le <trunghieu.le@nxp.com>
Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants