diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-debugifc.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-debugifc.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-debugifc.c b/drivers/media/video/pvrusb2/pvrusb2-debugifc.c index 010018bc8383..ae977668c496 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-debugifc.c +++ b/drivers/media/video/pvrusb2/pvrusb2-debugifc.c | |||
@@ -252,11 +252,15 @@ static int pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf, | |||
252 | scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); | 252 | scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); |
253 | if (scnt && wptr) { | 253 | if (scnt && wptr) { |
254 | count -= scnt; buf += scnt; | 254 | count -= scnt; buf += scnt; |
255 | if (debugifc_match_keyword(wptr,wlen,"prom")) { | 255 | if (debugifc_match_keyword(wptr, wlen, |
256 | pvr2_hdw_cpufw_set_enabled(hdw,!0,!0); | 256 | "prom")) { |
257 | } else if (debugifc_match_keyword(wptr,wlen, | 257 | pvr2_hdw_cpufw_set_enabled(hdw, 2, !0); |
258 | "ram")) { | 258 | } else if (debugifc_match_keyword(wptr, wlen, |
259 | pvr2_hdw_cpufw_set_enabled(hdw,0,!0); | 259 | "ram8k")) { |
260 | pvr2_hdw_cpufw_set_enabled(hdw, 0, !0); | ||
261 | } else if (debugifc_match_keyword(wptr, wlen, | ||
262 | "ram16k")) { | ||
263 | pvr2_hdw_cpufw_set_enabled(hdw, 1, !0); | ||
260 | } else { | 264 | } else { |
261 | return -EINVAL; | 265 | return -EINVAL; |
262 | } | 266 | } |