diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-06 08:42:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 07:36:51 -0300 |
commit | 3ba92d0b58c909d68c316b5f7989abbc7b62b3ad (patch) | |
tree | ac432de13d98621d4e95b525974c73c9a167da07 /drivers/media/common | |
parent | ab2b599ebfbdd4e311e796643d487722256418b6 (diff) | |
download | blackbird-obmc-linux-3ba92d0b58c909d68c316b5f7989abbc7b62b3ad.tar.gz blackbird-obmc-linux-3ba92d0b58c909d68c316b5f7989abbc7b62b3ad.zip |
[media] siano: Properly initialize board information
Board #0 is an existing one. Instead of initializing the driver
with it, use a different value to detect if board is unknown.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/siano/smscoreapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/common/siano/smscoreapi.c b/drivers/media/common/siano/smscoreapi.c index bc15dcecb25d..1dab4b64d395 100644 --- a/drivers/media/common/siano/smscoreapi.c +++ b/drivers/media/common/siano/smscoreapi.c @@ -723,6 +723,7 @@ int smscore_register_device(struct smsdevice_params_t *params, sms_info("allocated %d buffers", dev->num_buffers); dev->mode = DEVICE_MODE_NONE; + dev->board_id = SMS_BOARD_UNKNOWN; dev->context = params->context; dev->device = params->device; dev->setmode_handler = params->setmode_handler; |