aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tracing
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-15 06:31:38 -0400
committerTakashi Iwai <tiwai@suse.de>2009-06-15 06:36:06 -0400
commitf708eb1d71dc8ffb184da9f0bc53461c6dc10653 (patch)
tree195e50b4208033255cdcd5471b4dec3cb796497a /scripts/tracing
parent07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff)
ALSA: intel8x0 - Fix PCM position craziness
The PCM pointer callback sometimes returns invalid positions and this screws up the hw_ptr updater in PCM core. Especially since now the jiffies check is optional with xrun_debug, the invalid position is handled as is, and causes serious sound skips, etc. This patch simplifies the position-fix strategy in intel8x0 to be more robust: - just falls back to the last position if bogus position is detected - another sanity check for the backward move of the position due to a race of register update and the base-index update This patch is applicable also for 2.6.30. Tested-by: David Miller <davem@davemloft.net> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/tracing')
0 files changed, 0 insertions, 0 deletions
66'>266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367














































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
‰PNG