Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169071
b: refs/heads/master
c: e8092da
h: refs/heads/master
i:
  169069: 442d920
  169067: 1ec6578
  169063: 74d38b7
  169055: c1d021b
v: v3
  • Loading branch information
Mark Brown authored and Liam Girdwood committed Dec 2, 2009
1 parent 3dbe130 commit e4c9836
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 40 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f9a76198f50c4dfe36c5be4081b72872cd644fe
refs/heads/master: e8092da92e1fd38dc7c38a4eeae93eaa21764584
5 changes: 4 additions & 1 deletion trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3015,8 +3015,11 @@ S: Maintained
F: fs/autofs4/

KERNEL BUILD
M: Sam Ravnborg <sam@ravnborg.org>
T: git git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next.git
T: git git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes.git
L: linux-kbuild@vger.kernel.org
S: Orphan
S: Maintained
F: Documentation/kbuild/
F: Makefile
F: scripts/Makefile.*
Expand Down
23 changes: 2 additions & 21 deletions trunk/drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,21 +735,6 @@ diskstats(struct gendisk *disk, struct bio *bio, ulong duration, sector_t sector
part_stat_unlock();
}

/*
* Ensure we don't create aliases in VI caches
*/
static inline void
killalias(struct bio *bio)
{
struct bio_vec *bv;
int i;

if (bio_data_dir(bio) == READ)
__bio_for_each_segment(bv, bio, i, 0) {
flush_dcache_page(bv->bv_page);
}
}

void
aoecmd_ata_rsp(struct sk_buff *skb)
{
Expand Down Expand Up @@ -868,12 +853,8 @@ aoecmd_ata_rsp(struct sk_buff *skb)

if (buf && --buf->nframesout == 0 && buf->resid == 0) {
diskstats(d->gd, buf->bio, jiffies - buf->stime, buf->sector);
if (buf->flags & BUFFL_FAIL)
bio_endio(buf->bio, -EIO);
else {
killalias(buf->bio);
bio_endio(buf->bio, 0);
}
n = (buf->flags & BUFFL_FAIL) ? -EIO : 0;
bio_endio(buf->bio, n);
mempool_free(buf, d->bufpool);
}

Expand Down
11 changes: 10 additions & 1 deletion trunk/drivers/gpio/langwell_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ static int lnw_irq_type(unsigned irq, unsigned type)

static void lnw_irq_unmask(unsigned irq)
{
struct lnw_gpio *lnw = get_irq_chip_data(irq);
u32 gpio = irq - lnw->irq_base;
u8 reg = gpio / 32;
void __iomem *gedr;

gedr = (void __iomem *)(&lnw->reg_base->GEDR[reg]);
writel(BIT(gpio % 32), gedr);
};

static void lnw_irq_mask(unsigned irq)
Expand Down Expand Up @@ -176,11 +183,13 @@ static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
gedr_v = readl(gedr);
if (!gedr_v)
continue;
for (gpio = reg*32; gpio < reg*32+32; gpio++)
for (gpio = reg*32; gpio < reg*32+32; gpio++) {
gedr_v = readl(gedr);
if (gedr_v & BIT(gpio % 32)) {
pr_debug("pin %d triggered\n", gpio);
generic_handle_irq(lnw->irq_base + gpio);
}
}
/* clear the edge detect status bit */
writel(gedr_v, gedr);
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <linux/wait.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/semaphore.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/freezer.h>
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/host/pxamci.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,6 @@ static int pxamci_remove(struct platform_device *pdev)
if (mmc) {
struct pxamci_host *host = mmc_priv(mmc);

mmc_remove_host(mmc);

if (host->pdata) {
gpio_cd = host->pdata->gpio_card_detect;
gpio_ro = host->pdata->gpio_card_ro;
Expand All @@ -781,6 +779,8 @@ static int pxamci_remove(struct platform_device *pdev)
if (host->pdata && host->pdata->exit)
host->pdata->exit(&pdev->dev, mmc);

mmc_remove_host(mmc);

pxamci_stop_clock(host);
writel(TXFIFO_WR_REQ|RXFIFO_RD_REQ|CLK_IS_OFF|STOP_CMD|
END_CMD_RES|PRG_DONE|DATA_TRAN_DONE,
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/regulator/wm831x-isink.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ static __devinit int wm831x_isink_probe(struct platform_device *pdev)
return -ENOMEM;
}

isink->wm831x = wm831x;

res = platform_get_resource(pdev, IORESOURCE_IO, 0);
if (res == NULL) {
dev_err(&pdev->dev, "No I/O resource\n");
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/rtc/rtc-pcf50633.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,8 @@ static int __devinit pcf50633_rtc_probe(struct platform_device *pdev)
&pcf50633_rtc_ops, THIS_MODULE);

if (IS_ERR(rtc->rtc_dev)) {
int ret = PTR_ERR(rtc->rtc_dev);
kfree(rtc);
return ret;
return PTR_ERR(rtc->rtc_dev);
}

pcf50633_register_irq(rtc->pcf, PCF50633_IRQ_ALARM,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/rtc/rtc-x1205.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static int x1205_set_datetime(struct i2c_client *client, struct rtc_time *tm,
/* year, since the rtc epoch*/
buf[CCR_YEAR] = bin2bcd(tm->tm_year % 100);
buf[CCR_WDAY] = tm->tm_wday & 0x07;
buf[CCR_Y2K] = bin2bcd((tm->tm_year + 1900) / 100);
buf[CCR_Y2K] = bin2bcd(tm->tm_year / 100);
}

/* If writing alarm registers, set compare bits on registers 0-4 */
Expand Down Expand Up @@ -280,9 +280,9 @@ static int x1205_fix_osc(struct i2c_client *client)
int err;
struct rtc_time tm;

memset(&tm, 0, sizeof(tm));
tm.tm_hour = tm.tm_min = tm.tm_sec = 0;

err = x1205_set_datetime(client, &tm, 1, X1205_CCR_BASE, 0);
err = x1205_set_datetime(client, &tm, 0, X1205_CCR_BASE, 0);
if (err < 0)
dev_err(&client->dev, "unable to restart the oscillator\n");

Expand Down
11 changes: 4 additions & 7 deletions trunk/drivers/video/da8xx-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,11 +554,11 @@ static int fb_check_var(struct fb_var_screeninfo *var,
var->transp.length = 0;
break;
case 16: /* RGB 565 */
var->red.offset = 11;
var->red.offset = 0;
var->red.length = 5;
var->green.offset = 5;
var->green.length = 6;
var->blue.offset = 0;
var->blue.offset = 11;
var->blue.length = 5;
var->transp.offset = 0;
var->transp.length = 0;
Expand Down Expand Up @@ -591,7 +591,7 @@ static int __devexit fb_remove(struct platform_device *dev)
unregister_framebuffer(info);
fb_dealloc_cmap(&info->cmap);
dma_free_coherent(NULL, par->databuf_sz + PAGE_SIZE,
info->screen_base - PAGE_SIZE,
info->screen_base,
info->fix.smem_start);
free_irq(par->irq, par);
clk_disable(par->lcdc_clk);
Expand Down Expand Up @@ -749,7 +749,6 @@ static int __init fb_probe(struct platform_device *device)
(PAGE_SIZE - par->palette_sz);

/* the rest of the frame buffer is pixel data */
da8xx_fb_info->screen_base = par->v_palette_base + par->palette_sz;
da8xx_fb_fix.smem_start = par->p_palette_base + par->palette_sz;
da8xx_fb_fix.smem_len = par->databuf_sz - par->palette_sz;
da8xx_fb_fix.line_length = (lcdc_info->width * lcd_cfg->bpp) / 8;
Expand Down Expand Up @@ -788,8 +787,6 @@ static int __init fb_probe(struct platform_device *device)
da8xx_fb_info->var = da8xx_fb_var;
da8xx_fb_info->fbops = &da8xx_fb_ops;
da8xx_fb_info->pseudo_palette = par->pseudo_palette;
da8xx_fb_info->fix.visual = (da8xx_fb_info->var.bits_per_pixel <= 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;

ret = fb_alloc_cmap(&da8xx_fb_info->cmap, PALETTE_SIZE, 0);
if (ret)
Expand Down Expand Up @@ -828,7 +825,7 @@ static int __init fb_probe(struct platform_device *device)

err_release_fb_mem:
dma_free_coherent(NULL, par->databuf_sz + PAGE_SIZE,
da8xx_fb_info->screen_base - PAGE_SIZE,
da8xx_fb_info->screen_base,
da8xx_fb_info->fix.smem_start);

err_release_fb:
Expand Down
2 changes: 1 addition & 1 deletion trunk/init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ config SYSFS_DEPRECATED
bool

config SYSFS_DEPRECATED_V2
bool "enable deprecated sysfs features which may confuse old userspace tools"
bool "remove sysfs features which may confuse old userspace tools"
depends on SYSFS
default n
select SYSFS_DEPRECATED
Expand Down

0 comments on commit e4c9836

Please sign in to comment.