media: mt312: fix a missing check of mt312 reset
mt312_reset() may fail. Although it is called in the end of mt312_set_frontend(), we better check its status and return its error code upstream instead of 0. Signed-off-by: NKangjie Lu <kjlu@umn.edu> Reviewed-by: NMatthias Schwarzott <zzam@gentoo.org> Signed-off-by: NSean Young <sean@mess.org> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
想要评论请 注册 或 登录