vmscan: count the number of times zone_reclaim() scans and fails
[sfrench/cifs-2.6.git] / sound / atmel / abdac.c
index 28b3c7f7cfe63fba02a91d81be644d96ffcc9f7a..f2f41c8542211143cc56e83328092d1bcb27a2bf 100644 (file)
@@ -165,7 +165,7 @@ static struct snd_pcm_hardware atmel_abdac_hw = {
        .buffer_bytes_max       = 64 * 4096,
        .period_bytes_min       = 4096,
        .period_bytes_max       = 4096,
-       .periods_min            = 4,
+       .periods_min            = 6,
        .periods_max            = 64,
 };
 
@@ -502,7 +502,7 @@ static int __devinit atmel_abdac_probe(struct platform_device *pdev)
        platform_set_drvdata(pdev, card);
 
        dev_info(&pdev->dev, "Atmel ABDAC at 0x%p using %s\n",
-                       dac->regs, dac->dma.chan->dev->device.bus_id);
+                       dac->regs, dev_name(&dac->dma.chan->dev->device));
 
        return retval;