mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
qcomlt_dbg: Silence debug prints
Comment out some leftover debug prits in the QcomLT Debugboard support code. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
@@ -62,7 +62,7 @@ void *qcomlt_dbg_open(struct device *dev)
|
||||
if (dbg->fd < 0)
|
||||
err(1, "failed to open %s", dev->control_dev);
|
||||
|
||||
fprintf(stderr, "qcomlt_dbg_open()\n");
|
||||
// fprintf(stderr, "qcomlt_dbg_open()\n");
|
||||
write(dbg->fd, "brpu", 4);
|
||||
|
||||
return dbg;
|
||||
@@ -72,7 +72,7 @@ int qcomlt_dbg_power(struct device *dev, bool on)
|
||||
{
|
||||
struct qcomlt_dbg *dbg = dev->cdb;
|
||||
|
||||
fprintf(stderr, "qcomlt_dbg_power(%d)\n", on);
|
||||
// fprintf(stderr, "qcomlt_dbg_power(%d)\n", on);
|
||||
return write(dbg->fd, &("pP"[on]), 1);
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ void qcomlt_dbg_usb(struct device *dev, bool on)
|
||||
{
|
||||
struct qcomlt_dbg *dbg = dev->cdb;
|
||||
|
||||
fprintf(stderr, "qcomlt_dbg_usb(%d)\n", on);
|
||||
// fprintf(stderr, "qcomlt_dbg_usb(%d)\n", on);
|
||||
write(dbg->fd, &("uU"[on]), 1);
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ void qcomlt_dbg_key(struct device *dev, int key, bool asserted)
|
||||
{
|
||||
struct qcomlt_dbg *dbg = dev->cdb;
|
||||
|
||||
fprintf(stderr, "qcomlt_dbg_key(%d, %d)\n", key, asserted);
|
||||
// fprintf(stderr, "qcomlt_dbg_key(%d, %d)\n", key, asserted);
|
||||
|
||||
switch (key) {
|
||||
case DEVICE_KEY_FASTBOOT:
|
||||
|
||||
Reference in New Issue
Block a user