Read about our upcoming Code of Conduct on this issue

Commit a729f567 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

crop_rec: fix case fallthrough warnings

--HG--
branch : crop_rec_4k
parent 2a9947cb8915
......@@ -253,6 +253,7 @@ static int get_top_bar_adjustment()
case CROP_PRESET_3x3_1X:
case CROP_PRESET_3x3_1X_48p:
if (is_720p()) return 28; /* 0x1D0017 from 0x10017 */
/* fall through */
default:
return 30; /* 0x1F0017 from 0x10017 */
}
......@@ -959,6 +960,8 @@ static inline uint32_t reg_override_fps(uint32_t reg, uint32_t timerA, uint32_t
{
return timerA;
}
break;
}
case 0xC0F06008:
......@@ -971,6 +974,8 @@ static inline uint32_t reg_override_fps(uint32_t reg, uint32_t timerA, uint32_t
{
return timerA | (timerA << 16);
}
break;
}
case 0xC0F06014:
......@@ -981,6 +986,8 @@ static inline uint32_t reg_override_fps(uint32_t reg, uint32_t timerA, uint32_t
{
return timerB;
}
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment