disp: msm: specify default value for msm enum property
Allow caller to specify the default value of the enum property while installing with msm prop layer. It is not always the case that the default value to be the first entry. Change-Id: Ie0bb1ad7479e3e07810b3d817fdf618b1935858c Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:
@@ -443,7 +443,7 @@ int sde_wb_connector_post_init(struct drm_connector *connector, void *display)
|
||||
"fb_translation_mode",
|
||||
0x0,
|
||||
0, e_fb_translation_mode,
|
||||
ARRAY_SIZE(e_fb_translation_mode),
|
||||
ARRAY_SIZE(e_fb_translation_mode), 0,
|
||||
CONNECTOR_PROP_FB_TRANSLATION_MODE);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user