Re: [PATCH] media: mt312: fix a missing check of mt312 reset

2018-12-24 Thread Matthias Schwarzott
Am 21.12.18 um 08:07 schrieb Kangjie Lu: > 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: Kangjie Lu Thanks for submitting this patch. It looks correct.

[PATCH] media: mt312: fix a missing check of mt312 reset

2018-12-20 Thread Kangjie Lu
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: Kangjie Lu --- drivers/media/dvb-frontends/mt312.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git