Skip to content

Commit

Permalink
[PATCH] dvb: ttpci: fix error handling for firmware communication
Browse files Browse the repository at this point in the history
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: Wolfgang Rohdewald <wolfgang@rohdewald.de>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Wolfgang Rohdewald authored and Linus Torvalds committed Jul 8, 2005
1 parent dd2bbb1 commit c9090eb
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 149 deletions.
3 changes: 1 addition & 2 deletions drivers/media/dvb/ttpci/av7110.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ struct av7110 {
volatile int bmp_state;
#define BMP_NONE 0
#define BMP_LOADING 1
#define BMP_LOADINGS 2
#define BMP_LOADED 3
#define BMP_LOADED 2
wait_queue_head_t bmpq;


Expand Down
Loading

0 comments on commit c9090eb

Please sign in to comment.