diff options
author | Balaji Rao <balajirrao@openmoko.org> | 2009-02-16 11:27:11 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-02-16 11:27:11 +0000 |
commit | 0d8d2fe29182f0eaed6abbd7533d6667a5d0f42d (patch) | |
tree | 77d6690199a9dae14a148ea56a50fc11f973a899 /sound/pci | |
parent | 75069cb2df49af881b39695284b09cbc33a46540 (diff) |
Re: GTA03 pcf50633
On Mon, Feb 16, 2009 at 05:55:47PM +0800, Andy Green wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Balaji -
>
> I am working on the sound driver on GTA03 at the moment, I just noticed
> this when I pulled out the USB cable
>
> [ 6905.100000] pcf50633 0-0073: usb curlim to 0 mA
> [ 6905.100000] Division by zero in kernel.
> [ 6905.100000] [<c002d5b0>] (dump_stack+0x0/0x14) from [<c002d5dc>]
> (__div0+0x18/0x20)
> [ 6905.110000] [<c002d5c4>] (__div0+0x0/0x20) from [<c0143f9c>]
> (Ldiv0+0x8/0x10)
> [ 6905.120000] [<c01ec7a0>] (pcf50633_mbc_usb_curlim_set+0x0/0x12c) from
> [<c01ec914>] (pcf50633_mbc_irq_handler+0x48/0xf4)
> [ 6905.130000] [<c01ec8cc>] (pcf50633_mbc_irq_handler+0x0/0xf4) from
> [<c019e288>] (pcf50633_irq_call_handler+0x28/0x2c)
> [ 6905.140000] r5:00000004 r4:00000000
> [ 6905.150000] [<c019e260>] (pcf50633_irq_call_handler+0x0/0x2c) from
> [<c019eab8>] (pcf50633_irq_worker+0x2f0/0x33c)
> [ 6905.160000] [<c019e7c8>] (pcf50633_irq_worker+0x0/0x33c) from
> [<c00548d8>] (run_workqueue+0xb0/0x138)
> [ 6905.180000] r7:c7826000 r6:c7ba8d50 r5:c7807200 r4:c7ba8d54
> [ 6905.190000] [<c0054828>] (run_workqueue+0x0/0x138) from [<c00554e8>]
> (worker_thread+0xec/0x100)
> [ 6905.200000] r8:00000000 r7:00000000 r6:c7807200 r5:c7826000 r4:c7827fb0
> [ 6905.220000] [<c00553fc>] (worker_thread+0x0/0x100) from [<c00588f0>]
> (kthread+0x5c/0x94)
> [ 6905.230000] r6:c00553fc r5:c7807200 r4:c7826000
> [ 6905.240000] [<c0058894>] (kthread+0x0/0x94) from [<c0046e54>]
> (do_exit+0x0/0x24c)
> [ 6905.250000] r6:00000000 r5:00000000 r4:00000000
>
> It's funny because what I see as the only divide in there is
>
> mbcc5 = (ma << 8) / mbc->pcf->pdata->chg_ref_current_ma;
> pcf50633_reg_write(mbc->pcf, PCF50633_REG_MBCC5, mbcc5);
Oops, chg_ref_current_ma is not defined for mach-om-gta03.c. Sorry :(
here's a patch.
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions