diff options
author | Antti Palosaari <crope@iki.fi> | 2013-06-03 17:50:43 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-08 20:44:51 -0400 |
commit | e8292e28e3543fec62406551a026fcc0f2ca3cff (patch) | |
tree | 288ab62314635e4b57256c908af793c5cb015f8b /drivers/media/usb/dvb-usb-v2/af9035.c | |
parent | cb9114e9633c2afd029ac88ed73eb2a0b8f14edf (diff) |
[media] af9035: minor log writing changes
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/af9035.c')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/af9035.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 7d3b3c210e5f..e855ee6c86b5 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c | |||
@@ -55,7 +55,7 @@ static int af9035_ctrl_msg(struct dvb_usb_device *d, struct usb_req *req) | |||
55 | if (req->wlen > (BUF_LEN - REQ_HDR_LEN - CHECKSUM_LEN) || | 55 | if (req->wlen > (BUF_LEN - REQ_HDR_LEN - CHECKSUM_LEN) || |
56 | req->rlen > (BUF_LEN - ACK_HDR_LEN - CHECKSUM_LEN)) { | 56 | req->rlen > (BUF_LEN - ACK_HDR_LEN - CHECKSUM_LEN)) { |
57 | dev_err(&d->udev->dev, "%s: too much data wlen=%d rlen=%d\n", | 57 | dev_err(&d->udev->dev, "%s: too much data wlen=%d rlen=%d\n", |
58 | __func__, req->wlen, req->rlen); | 58 | KBUILD_MODNAME, req->wlen, req->rlen); |
59 | ret = -EINVAL; | 59 | ret = -EINVAL; |
60 | goto exit; | 60 | goto exit; |
61 | } | 61 | } |
@@ -336,8 +336,8 @@ static int af9035_identify_state(struct dvb_usb_device *d, const char **name) | |||
336 | 336 | ||
337 | dev_info(&d->udev->dev, | 337 | dev_info(&d->udev->dev, |
338 | "%s: prechip_version=%02x chip_version=%02x chip_type=%04x\n", | 338 | "%s: prechip_version=%02x chip_version=%02x chip_type=%04x\n", |
339 | __func__, state->prechip_version, state->chip_version, | 339 | KBUILD_MODNAME, state->prechip_version, |
340 | state->chip_type); | 340 | state->chip_version, state->chip_type); |
341 | 341 | ||
342 | if (state->chip_type == 0x9135) { | 342 | if (state->chip_type == 0x9135) { |
343 | if (state->chip_version == 0x02) | 343 | if (state->chip_version == 0x02) |