Commit c9090ebb authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald Committed by Linus Torvalds

[PATCH] dvb: ttpci: fix error handling for firmware communication

o make sure ERESTARTSYS will be propagated
o ReleaseBitmap: starting with Firmware 261e, also release when
  BMP_LOADING
o removes unused #define BMP_LOADINGS
o in many cases changed the return value from -1 to something more
  meaningful like ETIMEDOUT, EINVAL
o changed syslog message timeout waiting for COMMAND such that it
  indicates what command did not complete
o reduce # of arguments for LoadBitmap and BlitBitmap
o av7110_osd_cmd: remove the out: label
Signed-off-by: default avatarWolfgang Rohdewald <wolfgang@rohdewald.de>
Signed-off-by: default avatarJohannes Stezenbach <js@linuxtv.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent dd2bbb17
...@@ -119,8 +119,7 @@ struct av7110 { ...@@ -119,8 +119,7 @@ struct av7110 {
volatile int bmp_state; volatile int bmp_state;
#define BMP_NONE 0 #define BMP_NONE 0
#define BMP_LOADING 1 #define BMP_LOADING 1
#define BMP_LOADINGS 2 #define BMP_LOADED 2
#define BMP_LOADED 3
wait_queue_head_t bmpq; wait_queue_head_t bmpq;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment