aboutsummaryrefslogtreecommitdiff
path: root/fs/aio.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2011-07-18 16:54:28 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-08-27 08:56:39 -0300
commite217fb43c47830857a685673ae0dc3e28493bb88 (patch)
treecbe429b68ec0e79c2e078b86c953a0ecd599de2e /fs/aio.c
parentb71969bee23ea0c44c594e5027ba26029d27afea (diff)
[media] mceusb: report actual tx frequencies
Rather than dumping out hex values, lets print the actual calculated frequency and period the hardware has been configured for. After this [ 2643.276215] mceusb 3-1:1.0: tx data: 9f 07 (length=2) [ 2643.276218] mceusb 3-1:1.0: Get carrier mode and freq [ 2643.277206] mceusb 3-1:1.0: rx data: 9f 06 01 42 (length=4) [ 2643.277209] mceusb 3-1:1.0: Got carrier of 37037 Hz (period 27us) Matches up perfectly with the table in Microsoft's docs. Of course, I've noticed on one of my devices that the MS-recommended default value of 1 for carrier pre-scaler and 66 for carrier period was butchered, and instead of converting 66 to hex (0x42 like above), they put in 0x66, so the hardware reports a default carrier of 24390Hz. Fortunately, I guess, this particular device is rx-only, but I wouldn't put it past other hw to screw up here too. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs/aio.c')
0 files changed, 0 insertions, 0 deletions