[9610] media: radio: Remove compile warning
authorYunsu Kim <iamyunsu.kim@samsung.com>
Thu, 14 Jun 2018 10:42:14 +0000 (19:42 +0900)
committerYoungsoo Kim <youngss.kim@samsung.com>
Fri, 15 Jun 2018 23:34:21 +0000 (08:34 +0900)
Change-Id: I43aeeda3b163addb14d7d6ee6eab94edda523186
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
drivers/media/radio/s610/fm_rds.c

index 539dea571d48389b1967f2a9b0b8923ec1d77cf2..ad96c486a99ff2f1cfec64d3167bc61ea1f8dba0 100644 (file)
@@ -493,7 +493,7 @@ void fm_rds_update_error_status(struct s610_radio *radio, u16 errors)
 #endif
                        } else {
                                /*remove data*/
-                               fm_rds_write_data_remove(radio, fm_rds_get_state(radio));
+                               fm_rds_write_data_remove(radio, (fm_rds_rm_align_enum)fm_rds_get_state(radio));
                        }
                        fm_rds_change_state(radio, RDS_STATE_INIT);
 #endif /*USE_RDS_HW_DECODER*/