[sound] mpd loops on current -next

From: Jiri Slaby
Date: Sat Jun 06 2009 - 11:47:02 EST


Hi,

I found a regression in current -next caused by
c44941e05900fe85f6091456f9e313b446a97ae9
(PCM midlevel: Do not update hw_ptr_jiffies when hw_ptr is not changed)

When mpd is playing, it loops with a pattern such as:
16:05:02.762544 ioctl(14, 0x4122, 0x3) = 0
16:05:02.762565 ioctl(14, 0x4122, 0) = 0
16:05:02.762587 ioctl(14, 0x4122, 0x1) = 0
16:05:02.762609 ioctl(14, 0x4122, 0x3) = 0
16:05:02.762630 ioctl(14, 0x4122, 0) = 0
16:05:02.762652 ioctl(14, 0x4122, 0) = 0
16:05:02.762674 poll([{fd=13, events=POLLIN|POLLERR|POLLNVAL}], 1, -1) =
1 ([{fd=13, revents=POLLIN}])
16:05:02.762698 ioctl(14, 0x4122, 0x3) = 0
16:05:02.762720 ioctl(14, 0x4122, 0) = 0
16:05:02.762742 ioctl(14, 0x4122, 0x1) = 0
16:05:02.762765 ioctl(14, 0x4122, 0x3) = 0
16:05:02.762787 ioctl(14, 0x4122, 0) = 0
16:05:02.762809 ioctl(14, 0x4122, 0) = 0

Reverting the patch makes the problem disappear.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/