video/rockchip: rga: Fix gcc-10 warning

drivers/video/rockchip/rga/rga_drv.c: In function 'rga_get_rotate_mode_str':
drivers/video/rockchip/rga/rga_drv.c:199:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  199 |   else if (req_rga->sina == -65536 && req_rga->cosa == 0)
      |           ^
drivers/video/rockchip/rga/rga_drv.c:202:2: note: here
  202 |  case 0x2:
      |  ^~~~

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2416a20f4acb5345ee130e6e93ea923205b4e395
This commit is contained in:
Tao Huang
2021-07-27 19:01:18 +08:00
parent 53bbaaab0f
commit eb6f2eff4e
+1
View File
@@ -199,6 +199,7 @@ static const char *rga_get_rotate_mode_str(struct rga_req *req_rga)
else if (req_rga->sina == -65536 && req_rga->cosa == 0)
/* totate 270 */
return "rotate 270 ";
return "UNF";
case 0x2:
return "xmirror";
case 0x3: