File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -1868,8 +1868,25 @@ static void __init msm_cpr_init(void)
18681868 }
18691869 }
18701870
1871+ /* Temporary fix for Quot deficiency on some pre-CS parts which turbo_quot <= 50,some bad chip */
1872+ if (cpr_info -> turbo_quot <= 50 ) {
1873+ if (cpr_info -> pvs_fuse <= 0x6 ) {
1874+ msm_cpr_pdata .max_quot += (47 * 10 );
1875+ if (msm_cpr_pdata .max_quot > 1470 )
1876+ msm_cpr_pdata .max_quot = 1470 ;
1877+ } else if (cpr_info -> pvs_fuse <= 0xF ) {
1878+ msm_cpr_pdata .max_quot += (43 * 10 );
1879+ if (msm_cpr_pdata .max_quot > 1430 )
1880+ msm_cpr_pdata .max_quot = 1430 ;
1881+ } else {
1882+ msm_cpr_pdata .max_quot += (38 * 10 );
1883+ if (msm_cpr_pdata .max_quot > 1380 )
1884+ msm_cpr_pdata .max_quot = 1380 ;
1885+ }
1886+ }
1887+
18711888 pr_info ("%s: cpr: ring_osc: 0x%x\n" , __func__ ,
1872- msm_cpr_mode_data [TURBO_MODE ].ring_osc );
1889+ msm_cpr_mode_data [TURBO_MODE ].ring_osc );
18731890 pr_info ("%s: cpr: turbo_quot: 0x%x\n" , __func__ , cpr_info -> turbo_quot );
18741891 pr_info ("%s: cpr: pvs_fuse: 0x%x\n" , __func__ , cpr_info -> pvs_fuse );
18751892 pr_info ("%s: cpr: floor_fuse: 0x%x\n" , __func__ , cpr_info -> floor_fuse );
You can’t perform that action at this time.
0 commit comments