yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Q&A, Help & Troubleshooting] baseballfanz:
I believed so but I think you need a 3.0 USB cable also IIRC
[Eee Pad Transformer Q&A, Help & Troubleshooting] Spidey01:
You will get a trickle off USB2; not sure if anyone has tried USB3, I would think it can give enough juice to charge though. For meaningful stuff in the stikk USB2 filled world, use the charger
[Eee Pad Transformer Q&A, Help & Troubleshooting] iss42:
Hmm so nothing definitive then on this?

Could you use the keypad ports to charge?

If so would it matter which port you plug it in to on the Transformer?
[Eee Pad Transformer Q&A, Help & Troubleshooting] gavin-phelan:
Can the usb be used to transfer files to and from the laptop computer
[Eee Pad Transformer Q&A, Help & Troubleshooting] baseballfanz:
Yes

...............................
[T-Mobile Samsung Galaxy S II SGH-T989] idov:
Hi guys I have a rooted T-mobile stock firmware SGS2 T989 and want to add a cyrilic language pack on samsung keypad.
[T-Mobile Samsung Galaxy S II SGH-T989] sl___:
You should check out Juggernaut 2.5. They recently released an update that has 45 different languages on the phone. Definitely consider checking it out for the performance boosts anyways.

http://xdaforums.com/showthread.php?t=1322642
[T-Mobile Samsung Galaxy S II SGH-T989] idov:
I really don't like to flash new rom is there link to download just language pack and add to sdcard Thanx.
[T-Mobile Samsung Galaxy S II SGH-T989] sl___:
I quote AllGamer's post from another thread:

Think you should at least root your phone..
[T-Mobile Samsung Galaxy S II SGH-T989] minicris:
Do u have an idea that where would be the language file place or located at which folder?
[T-Mobile Samsung Galaxy S II SGH-T989] wpcp007:
extracting fonts

Do you know wher ei cna find the fonts apk and how to set permissions?
[HTC Sensation] Jerald2:
I have a question about using setcpu with over and underclocking. Does it apply to both cores? Or is it just one?
[HTC Sensation] jslim38:
It only works one core which is the main core
[HTC Sensation] Ace42:
No point in using that app anyway....We have virtuous daemon, configurator , viperMod, system tuner. Setcpu has an issue with changing governors constantly that causes wakeup locks, think it's mention in some thread.
[HTC Sensation] StuartTheFish:
Yeah, I recently tried setCPU and it went from 85% charge to dead overnight. My phone wasn't particularly stable while using it either, even when the clock speed was only set at normal speeds.
[Epic 4G Q&A, Help & Troubleshooting] JeffATL:
Whenever I flash a new rom, I notice my playlists that were on my sd card are deleted.

I know I sometime add a song to the playlist using either Mixzhing or the android music app included with the custom roms, so I am speculating that when this is done the player generates its own playlist, storing it on my phones internal memory in some db file and deletes my old one.
[Epic 4G Q&A, Help & Troubleshooting] ugothakd:
This is a very...VERY...good question. I put a few m3u playlists on my sd card and when I flashed a new rom, gone. I think it has something to do with "Media Storage" because if you delete that in Titanium, your playlists are gone.
[Epic 4G Q&A, Help & Troubleshooting] JeffATL:
I actually tried to restore media storage using titanium, but it did not help.

I wonder about changing the permissions on it as a workaround but a pain in the a$$ to not be able to add songs using the music app to your playlist on the fly,
[Android Software/Hacking General [Developers Only]] Quinny899:
I'm trying to mount the root drive, or / in adb, so I can remove /acct and push a new one, with root UIDs. Root Explorer can't do it, as it's not rooted, adb shell has root, and, if needs be, I can mount /acct and push the files one by one. Can anyone help me?

Thanks

Rooting Android 2.3.1 dual boot NetBook
[Galaxy S I9000 Q&A, Help & Troubleshooting] xdadooder:
My screen always stays on when I am on my bluetooth headset on my captivate. After about a minute, it idles out for a split second but then turns itself back on automatically. If I press the power button to turn off the screen, it will only turn back on immediately. Is there any way to turn off the screen while on bluetooth? (a setting, hack or app?)

I don't want to turn off the proximity sensor because if I make a regular call without bluetooth, I still want it to turn the screen off.
[Galaxy S I9000 Q&A, Help & Troubleshooting] xdadooder:
I've tried screen off utilities, but the screen just turns back on again after blanking for a split second. Plus, I have to do it manually during a call.
[HTC Radar] amapeen88:
http://www.amazon.com/EMPIRE-Green-...JJXS/ref=sr_1_2?ie=UTF8&qid=1321222735&sr=8-2

That's the case I got for my T-mobile Radar 4G and I like it. It covers the buttons but I prefer it that way since it makes easier to press them. One thing I am concerned about the case is whether or not it will pick up lint from the pocket.

I would like to know other case options.
[HTC Radar] nightryder21:
Nice case. I almost pick that one up but in a different color. I want to wait for a hard case though.
[HTC Radar] vatanatips:
this is my case with phone,i really like it .looks cool white phone with black case
[HTC Radar] greenman44:
Where did you get the black case from?
[HTC Radar] vatanatips:
this site

EBAY
[HTC Radar] xavierh:
I Bought today from a local T mobile store a D3O Gel Skin. It comes in black.

http://www.t-mobile.com/shop/AddOns...c39-21ff110f3aa1&inCart=True&catCode=21&qty=1

One thing that I like is that it makes the phone easier to grab, but I am afraid that is the only thing that I like. The case covers almost all the "whiteness" of the phone, makes it bulkier and overall I do not like it. Another negative is that the on / off button at the top of the phone is is very hard to press with the phone inside the case.

I will be returning it tomorrow. This phone actually looks too nice to be covered.
[HTC Radar] sayonical:
Yup the radar is too pretty to be covered up in some bully case. I'm getting an invisible shield to keep it clean and scratch free. Hopefully I don't drop it O.O
[HTC Radar] amapeen88:
So far, I got 4 different cases for my radar. I attached images with cases on and off the phone.

From left to right, links are:

http://www.amazon.com/EMPIRE-Green-...=UTF8&qid=1321222735&sr=8-2&tag=5336653508-20

http://www.ebay.com/itm/220892678796?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

http://www.ebay.com/itm/Soft-Plasti...996108?pt=PDA_Accessories&hash=item45ff4d3fcc

http://www.ebay.com/itm/300631479961?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

First one is silicon case that picks up lint and dirt like crazy which is the reason why I got the second one. The second one I like the lease because it covers all the buttons but there are no grooves or moldings for the buttons outside the case so you can't tell where the buttons are by just touching the case + buttons are hard to press. I got the last two at the same time and I am liking them the best. Buttons are easy to press and doesn't cover up the background microphones on the back..
[HTC Radar] awmu:
I wish someone would make a decent case (e.g., otterbox) for this phone!
[HTC Radar] xavierh:
I ordered he clear case, and it looks very good on he phone, thanks for the recommendation.
[HTC Radar] yzep450:
Hey Ventanatips Re: Rock Case for Radar

It says thats a gel case, though it looks like hardplastic. Which is it? I hope its the hard plastic as the gel gets hung up in your pocket when taking it in and out.

---------- Post added at 12:42 PM ---------- Previous post was at 12:36 PM ----------

It says this is a gel case though it looks like hard plastic. Which is it? I hope hard plastic as the gel gets hung up getting the phone in and out of your pocket.
[HTC Radar] princedwi:
I just bought the Incipio Silicrylic, which is basically a silicone insert and a polycarobonate back, and it feels so so sturdy now. Definitely worth having the peace of mind even though it makes it a tad bit bulkier.
[HTC Radar] Phoenix Undone:
Incipio also offers the feather style hard case. It is thin and fits the curves of the phone well. I had one for my old iPhone and it was amazing! It's $25 but it's well worth the money. The only negative is that it only really protects the backside, and partially the sides.

MyIncipio.com ​
[HTC Radar] xda45:
I got one of those TPU S-Line cases for mine off of Ebay.

I find they fit and feel a bit better than the regular TPU cases and they're only a couple of bucks if you don't mind the longer ship times when ordering from sellers in China.
[HTC Radar] Phoenix Undone:
I recommend the clear case. I bought it and it took a while to come from China, but well worth it. :D

The only problem that I have found is that the light from the flash shines through the case and gives pictures a bright glow. :mad:
[HTC Radar] X_g_v:
I really recommend the rubberize snap on hard case, brought a white one from this seller on ebay, it cover that plastic part in the front of the phone ans the whole side without blocking any of the buttons. Cant post link: but the seller name is moderntechs.
[HTC Radar] kbagrows:
I have been really happy with a white/clear case purchased on Amazon. I have both a black and white case, and think the white looks a ton better.

http://www.amazon.com/Amzer-Silicon..._1_5?s=wireless&ie=UTF8&qid=1335283218&sr=1-5

I really like the consistency - I think its about perfect. Not too ridgid, but not too flexible. IMO, the Radar is a little bit slippery, and I love the feel of this case.

The case covers the camera button, volume rocker, and power button, but fits them perfect. It does not cover the camera or the flash, and there are small holes cut out for the mic and back speaker. Any questions re the case, let me know.
[HTC Radar] DarkSeL:
I have that but don't use it. It isn't tight enough for my liking. It sticks to all kinds of dirt.. AND it makes the Radar more slippery when I take it out of the case!!!!!!!!!!

I just ordered another one, http://www.amazon.com/gp/product/B006KF5WDY/ref=oh_details_o00_s00_i00 , hopefully it's good. It looks good.
[HTC Radar] X_g_v:
wanted to share these pictures I took of the two cases I got off of eBay *TPU BLUE CASE* and *Red Rubberize Backcase* for the HTC Radar.

I really prefer the Hard Rubberize cases they feel more sturdy and stylish :p
[HTC Radar] CreAtive_34:
Hey there,

I'm using leather pouch case for my Radar, but I want new case, because of easier acces to it.

All I want is genuine leather side flip case - something like flipcase from Tuff-luv, but not from top. Is there anything like it?

Thanks.
[HTC Radar] shazam1203:
Thanks for your suggestion! I just ordered the blue one

http://www.ebay.com/itm/110784789555?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
[HTC Radar] cristiga:
Thanks for your suggestion! I just ordere
[HTC Radar] S100200:
Htc hc c660

Hi all,

Any opinions on this case (see att.)?

Can somebody post a pic that shows how it looks on the phone?
[HTC Radar] carguy303:
Do you have a link to that case?
[HTC Radar] hugoo00:
Text of test.
[Android Q&A, Help & Troubleshooting] scottmog:
I love the "oid" emulator features such as:

Fast forward toggle with the ability to hot key it to like a space bad

Fast save/load feature with the ability to hot key it to the "alt" keys as I do.

Is there anyway to hot key at least the save/load states?
[Android Q&A, Help & Troubleshooting] scottmog:
bumppppppppppppp
[Galaxy Note GT-N7000 Android Development] fards:
as kj6 is supposed to bring some bug fixes, I thought I'd check the kernel source.

there's not a huge amount of difference, but some looks interesting, hopefully of use to anyone wanting to building it.

--- drivers/input/touchscreen/mxt540e.c	2011-10-20 02:58:48.000000000
+++ drivers/input/touchscreen/mxt540e.c	2011-10-25 17:58:10.000000000
@@ -907,16 +907,16 @@
}

if (object_type == PROCG_NOISESUPPRESSION_T48) {
if (msg[4] == 5) { /* Median filter error */
printk("[TSP] Median filter Error\n");
get_object_info(data, PROCG_NOISESUPPRESSION_T48, &size, &obj_address);
-	value = data->calcfg_batt_e;
+	value = 0;
error = write_mem(data, obj_address+2, 1, &value);
-	msleep(5);
-	value |= 0x20;
+	msleep(15);
+	value = data->calcfg_batt_e;
error |= write_mem(data, obj_address+2, 1, &value);
if(error) printk(KERN_ERR "[TSP] failed to reenable CHRGON\n");
}
}

if (object_type == TOUCH_MULTITOUCHSCREEN_T9) {

--- drivers/input/keyboard/cypress/cypress-touchkey.c	2011-10-20 02:58:48.000000000
+++ drivers/input/keyboard/cypress/cypress-touchkey.c	2011-10-25 17:58:10.000000000
@@ -1909,18 +1909,20 @@
int ret = 0;

#ifdef TEST_JIG_MODE
unsigned char get_touch = 0x40;
#endif

+#ifndef CONFIG_MACH_Q1_REV02
if (gpio_request(_3_TOUCH_SDA_28V, "_3_TOUCH_SDA_28V"))
WARN(1, "Fail to request gpio (_3_TOUCH_SDA_28V)\n");
if (gpio_request(_3_TOUCH_SCL_28V, "_3_TOUCH_SCL_28V"))
WARN(1, "Fail to request gpio (_3_TOUCH_SCL_28V)\n");
if (gpio_request(_3_GPIO_TOUCH_EN, "_3_GPIO_TOUCH_EN"))
WARN(1, "Fail to request gpio (_3_GPIO_TOUCH_EN)\n");
+#endif
if (gpio_request(_3_GPIO_TOUCH_INT, "_3_GPIO_TOUCH_INT"))
WARN(1, "Fail to request gpio (_3_GPIO_TOUCH_INT)\n");

/*20110222 N1_firmware_sync*/
sec_touchkey = device_create(sec_class, NULL, 0, NULL, "sec_touchkey");

@@ -2212,18 +2214,20 @@
misc_deregister(&touchkey_update_device);

if (touchkey_wq) {
destroy_workqueue(touchkey_wq);
}

+#ifndef CONFIG_MACH_Q1_REV02
gpio_free(_3_TOUCH_SDA_28V);
gpio_free(_3_TOUCH_SCL_28V);
gpio_free(_3_GPIO_TOUCH_EN);
+#endif
gpio_free(_3_GPIO_TOUCH_INT);
}

late_initcall(touchkey_init);
module_exit(touchkey_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("@@@");
MODULE_DESCRIPTION("melfas touch keypad");
[Galaxy Note GT-N7000 Android Development] fards:
--- drivers/leds/leds-max8997.c	2011-10-20 02:58:48.000000000
+++ drivers/leds/leds-max8997.c	2011-10-25 17:58:10.000000000
@@ -242,19 +242,30 @@
regulator_led_disable(led);
regulator_put(led->vcc);
kfree(led);
return 0;
}

+static void regulator_led_shutdown(struct platform_device *pdev)
+{
+	struct regulator_led *led = platform_get_drvdata(pdev);
+
+	if (regulator_is_enabled(led->vcc)) {
+	regulator_led_disable(led);
+	}
+	return;
+}
+
static struct platform_driver regulator_led_driver = {
.driver = {
.name = "leds-max8997",
.owner = THIS_MODULE,
},
.probe = regulator_led_probe,
.remove = __devexit_p(regulator_led_remove),
+	.shutdown = regulator_led_shutdown,
};

static int __init regulator_led_init(void)
{
return platform_driver_register(&regulator_led_driver);
}

--- drivers/media/video/samsung/mali/common/mali_kernel_mem_os.c	2011-10-20 02:58:48.000000000
+++ drivers/media/video/samsung/mali/common/mali_kernel_mem_os.c	2011-10-25 17:58:10.000000000
@@ -251,12 +251,13 @@
{
if ( allocation_order > 0 ) {
--allocation_order;
} else {
/* return OOM */
_mali_osk_lock_signal(info->mutex, _MALI_OSK_LOCKMODE_RW);
+	MALI_PRINT(("Failed to allocate consistent memory in all sizes.\n"));
return MALI_MEM_ALLOC_NONE;
}
}

/* try to allocate 2^(allocation_order) pages, if that fails, try
* allocation_order-1 to allocation_order 0 (inclusive) */
@@ -270,18 +271,21 @@
--allocation_order;
}

if ( NULL == virt )
{
MALI_DEBUG_PRINT(1, ("Failed to allocate consistent memory. Is CONSISTENT_DMA_SIZE set too low?\n"));
+	MALI_PRINT(("Failed to allocate consistent memory. Is CONSISTENT_DMA_SIZE set too low?\n"));
/* return OOM */
_mali_osk_lock_signal(info->mutex, _MALI_OSK_LOCKMODE_RW);
return MALI_MEM_ALLOC_NONE;
}

MALI_DEBUG_PRINT(5, ("os_allocator_allocate_page_table_block: Allocation of order %i succeeded\n",
+	allocation_order));
+	MALI_PRINT(("os_allocator_allocate_page_table_block: Allocation of order %i succeeded\n",
allocation_order));

/* we now know the size of the allocation since we know for what
* allocation_order the allocation succeeded */
size = _MALI_OSK_CPU_PAGE_SIZE << allocation_order;
[Galaxy Note GT-N7000 Android Development] fards:
--- drivers/media/video/m5mo.c	2011-10-20 02:58:48.000000000
+++ drivers/media/video/m5mo.c	2011-10-25 17:58:10.000000000
@@ -1707,13 +1707,13 @@
}
#endif

static int m5mo_set_touch_auto_focus(struct v4l2_subdev *sd, int val)
{
struct m5mo_state *state = to_state(sd);
-	int err = -EINVAL;
+	int err;
cam_info("%s\n", val ? "start" : "stop");

state->focus.touch = val;

if (val) {
err = m5mo_set_af_mode(sd, FOCUS_MODE_TOUCH);
@@ -1727,13 +1727,13 @@
err = m5mo_writew(sd, M5MO_CATEGORY_LENS,
M5MO_LENS_AF_TOUCH_POSY, state->focus.pos_y);
CHECK_ERR(err);
}

cam_trace("X\n");
-	return err;
+	return 0;
}

static int m5mo_set_zoom(struct v4l2_subdev *sd, struct v4l2_control *ctrl)
{
struct m5mo_state *state = to_state(sd);
struct v4l2_queryctrl qc = {0,};
[Galaxy Note GT-N7000 Android Development] fards:
--- drivers/power/smb328_charger.c	2011-10-20 02:58:49.000000000
+++ drivers/power/smb328_charger.c	2011-10-25 17:58:10.000000000
@@ -820,18 +820,26 @@
{
struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
struct smb328_chip *chip;
int ret = 0;
int gpio = 0;
u8 data;
+	int i;

-	if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE))
-	return -EIO;
+	i = 10;
+	while (1) {
+	if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE))
+	goto I2CERROR;

-	if (smb328_i2c_read(client, 0x36, &data)<0)	/* check HW */
-	return -EIO;
+	if (smb328_i2c_read(client, 0x36, &data)>=0)	/* check HW */
+	break;
+
+I2CERROR:
+	if (!i--) return -EIO;
+	msleep(300);
+	}

dev_info(&client->dev, "%s : SMB328 Charger Driver Loading\n", __func__);

chip = kzalloc(sizeof(struct smb328_chip), GFP_KERNEL);
if (!chip)
return -ENOMEM;
[Galaxy Note GT-N7000 Android Development] fards:
--- drivers/video/samsung/s3cfb_s6e8aa0.c	2011-10-20 02:58:50.000000000
+++ drivers/video/samsung/s3cfb_s6e8aa0.c	2011-10-25 17:58:10.000000000
@@ -1009,19 +1009,27 @@
return 0;
}

int s6e8ax0_read_mtp(struct lcd_info *lcd, u8 *mtp_data)
{
int ret;
+	u8 retry_cnt = 3;

s6e8ax0_write(lcd, enable_mtp_register, ARRAY_SIZE(enable_mtp_register));
+
+read_retry:
ret = s6e8ax0_read(lcd, LDI_MTP_ADDR, LDI_MTP_LENGTH, mtp_data);
if (!ret) {
-	printk("ERROR:MTP read failed\n");
-	return 0;
+	if (retry_cnt) {
+	printk("[WARN:LCD] : %s : retry cnt : %d\n", __func__, retry_cnt);
+	retry_cnt--;
+	goto read_retry;
+	} else
+	printk("ERROR:MTP read failed\n");
}
+
s6e8ax0_write(lcd, disable_mtp_register, ARRAY_SIZE(disable_mtp_register));
return ret;
}
#endif

static ssize_t lcdtype_show(struct device *dev, struct
@@ -1228,12 +1236,13 @@
struct s5p_platform_dsim *pd = (struct s5p_platform_dsim *)pdev->dev.platform_data;
#endif
#ifdef SMART_DIMMING
u8 mtp_data[LDI_MTP_LENGTH] = {0,};
u32 i;
u8 id_buf[3] = {0,};
+	u8 retry_cnt = 3;
#endif

lcd = kzalloc(sizeof(struct lcd_info), GFP_KERNEL);
if (!lcd) {
pr_err("failed to allocate for lcd\n");
ret = -ENOMEM;
@@ -1330,17 +1339,24 @@

dev_info(&lcd->ld->dev, "s6e8aa0 lcd panel driver has been probed.\n");

#ifdef SMART_DIMMING
mutex_init(&lcd->bl_lock);

-	//read mpt
+read_retry:
ret = s6e8ax0_read(lcd, PANEL_ID_COMMAND, 3, id_buf);
if (!ret) {
-	printk("[LCD:ERROR] : %s read id failed\n", __func__);
-	//return -1;
+	if (retry_cnt) {
+	printk("[WARN:LCD] : %s : retry cnt : %d\n", __func__, retry_cnt);
+	retry_cnt--;
+	goto read_retry;
+	} else {
+	printk("[ERROR:LCD] : %s : Read ID Failed\n", __func__);
+	/*To protect ELVSS Wrong Operation*/
+	id_buf[2] = 0x33;
+	}
}

printk("Read ID : %x, %x, %x\n", id_buf[0], id_buf[1], id_buf[2]);

if (id_buf[2] == 0x33) {
lcd->support_elvss = 0;
@@ -1361,22 +1377,23 @@

init_table_info(&lcd->smart);

ret = s6e8ax0_read_mtp(lcd, mtp_data);
if (!ret) {
printk("[LCD:ERROR] : %s read mtp failed\n", __func__);
-	//return -1;
+	lcd->connected = 0;
+	dev_info(&lcd->ld->dev, "panel is not connected well\n");
+	/*return -1;*/
}

calc_voltage_table(&lcd->smart, mtp_data);

s6e8ax0_adb_brightness_update(lcd, lcd->bd->props.brightness, 1);
#endif

-	if (id_buf[0] == 0xa2) {
-	lcd->connected = 1;
+	if (lcd->connected) {
INIT_DELAYED_WORK(&hs_clk_re_try, hs_clk_re_try_work);

lcd->irq = gpio_to_irq(GPIO_OLED_DET);

s3c_gpio_cfgpin(GPIO_OLED_DET, S3C_GPIO_SFN(0xf));
s3c_gpio_setpull(GPIO_OLED_DET, S3C_GPIO_PULL_NONE);
@@ -1384,15 +1401,12 @@

if (request_irq(lcd->irq, oled_det_int, IRQF_TRIGGER_FALLING, "vgh_toggle", 0)) {
pr_err("failed to reqeust irq. %d\n", lcd->irq);
ret = -EINVAL;
goto out_free_backlight;
}
-	} else {
-	lcd->connected = 0;
-	dev_info(&lcd->ld->dev, "panel is not connected\n");
}

return 0;

out_free_backlight:
lcd_device_unregister(lcd->ld);
[Galaxy Note GT-N7000 Android Development] fards:
--- drivers/video/samsung/s5p-dsim.c	2011-10-20 02:58:50.000000000
+++ drivers/video/samsung/s5p-dsim.c	2011-10-25 17:58:10.000000000
@@ -115,13 +115,13 @@
#define MIPI_CMD_GENERIC_RD_2	0x24

#define MIPI_CMD_DSI_RD_0	0x06

#define MIPI_CMD_DSI_SET_PKT_SZ	0x37

-#define MIPI_RX_TIMEOUT	HZ
+#define MIPI_RX_TIMEOUT	msecs_to_jiffies(250)
#define DSMI_RX_FIFO_READ_DONE	0x30800002
#define DSIM_MAX_RX_FIFO	20

#define S5P_DSIM_INT_SFR_FIFO_EMPTY	29
#define S5P_DSIM_INT_BTA	25
#define S5P_DSIM_INT_MSK_FRAME_DONE	24
@@ -358,13 +358,13 @@
}

rxhd = readl(reg_base + S5P_DSIM_RXFIFO);
printk("rxhd : %x\n", rxhd);
if ((u8)(rxhd & 0xff) != response) {
printk(KERN_ERR "[DSIM:ERROR]:%s wrong response rxhd : %x, response:%x\n"
-	,__func__, rxhd, response);
+	, __func__, rxhd, response);
goto clear_rx_fifo;
}
// for short packet
if (count <= 2) {
for (i = 0; i < count; i++)
buf[i] = (rxhd >> (8+(i*8))) & 0xff;
@@ -379,21 +379,21 @@
goto clear_rx_fifo;
}

for (i = 0; i < rxsize>>2; i++) {
temp = readl(reg_base + S5P_DSIM_RXFIFO);
printk("pkt : %08x\n", temp);
-	for(j=0; j < 4; j++) {
+	for (j = 0; j < 4; j++) {
buf[(i*4)+j] = (u8)(temp>>(j*8))&0xff;
//printk("Value : %02x\n",(temp>>(j*8))&0xff);
}
}
if (rxsize % 4) {
temp = readl(reg_base + S5P_DSIM_RXFIFO);
printk("pkt-l : %08x\n", temp);
-	for(j=0; j < rxsize%4; j++) {
+	for (j = 0; j < rxsize%4; j++) {
buf[(i*4)+j] = (u8)(temp>>(j*8))&0xff;
//printk("Value : %02x\n",(temp>>(j*8))&0xff);
}
}
}

@@ -1089,30 +1089,30 @@

writel(int_stat, dsim.reg_base + S5P_DSIM_INTMSK);
}

int s5p_dsim_fifo_clear(void)
{
-	int dsim_count=0,ret;
+	int dsim_count = 0, ret;

writel(SwRstRelease, dsim.reg_base + S5P_DSIM_INTSRC);
-
+
writel(DSIM_FUNCRST, dsim.reg_base + S5P_DSIM_SWRST);
-	do{
-	if(++dsim_count>90000){
-	printk("dsim fifo clear fail re_try dsim resume\n");
-	ret=0;
+	do {
+	if (++dsim_count > 90000) {
+	printk("dsim fifo clear fail re_try dsim resume\n");
+	ret = 0;
break;
-	}
-
-	if(readl(dsim.reg_base + S5P_DSIM_INTSRC) & SwRstRelease){
-	s5p_dsim_interrupt_mask_set();
-	ret=1;
+	}
+
+	if (readl(dsim.reg_base + S5P_DSIM_INTSRC) & SwRstRelease) {
+	s5p_dsim_interrupt_mask_set();
+	ret = 1;
break;
}
-	}while(1);
+	} while (1);

return ret;
}

#ifdef CONFIG_HAS_EARLYSUSPEND
void s5p_dsim_early_suspend(void)
@@ -1140,24 +1140,24 @@

if (dsim.mipi_drv->suspend)
dsim.mipi_drv->suspend(dsim.dev, state);

if (dsim.mipi_ddi_pd->lcd_power_on)
dsim.mipi_ddi_pd->lcd_power_on(dsim.dev, 0);
-
+
s5p_dsim_enable_hs_clock(dsim.reg_base, 0);
s5p_dsim_set_clock(dsim.reg_base, dsim.dsim_info->e_byte_clk, 0);
-
+
writel(0xffff, dsim.reg_base + S5P_DSIM_CLKCTRL);
writel(0x0, dsim.reg_base + S5P_DSIM_PLLCTRL);
writel(0x0, dsim.reg_base + S5P_DSIM_PLLTMR);
writel(0x0, dsim.reg_base + S5P_DSIM_PHYACCHR);
-	writel(0x0, dsim.reg_base + S5P_DSIM_PHYACCHR1);
+	writel(0x0, dsim.reg_base + S5P_DSIM_PHYACCHR1);

writel(0x1, dsim.reg_base + S5P_DSIM_SWRST);
-
+
clk_disable(dsim.clock);

#if 0
if (dsim.pd->mipi_power)
dsim.pd->mipi_power(0);
else