Revert "qup_i2c: Initialize I2C resource before registering."

This reverts commit 2f9fb5466125e15afea16ee1542ec5be3c97dc73.

Signed-off-by: flar2 <asegaert@gmail.com>
Revert "i2c_qup: Fix for unhandled IRQ"

This reverts commit 8c4683aa4584becf33e088d485bad1f93f4a5e03.

Signed-off-by: flar2 <asegaert@gmail.com>
Revert "qup_i2c: export qup_i2c_init_driver"

This reverts commit 46265e332b60279338eadafd07a0e5772368c985.

Signed-off-by: flar2 <asegaert@gmail.com>
Revert "i2c_qup: Improve implementation of PM callbacks"

This reverts commit b11d07eb6b809c3f960a6e0d296c12ac449ca661.

Signed-off-by: flar2 <asegaert@gmail.com>
Revert "qup_i2c: Handle scenario if runtime PM is disable"

This reverts commit 22c338ce5e6ef9cc176740f7865b8ad60ed0acc0.

Signed-off-by: flar2 <asegaert@gmail.com>
Revert "i2c-qup: Verify that mem resource exists prior to redirection"

This reverts commit 27a0971c8199e193b155f0d707fe44636e28d7f3.

Signed-off-by: flar2 <asegaert@gmail.com>
ext4: Speedup WB_SYNC_ALL pass called from sync(2)

When doing filesystem wide sync, there's no need to force transaction
commit (or synchronously write inode buffer) separately for each inode
because ext4_sync_fs() takes care of forcing commit at the end (VFS
takes care of flushing buffer cache, respectively). Most of the time
this slowness doesn't manifest because previous WB_SYNC_NONE writeback
doesn't leave much to write but when there are processes aggressively
creating new files and several filesystems to sync, the sync slowness
can be noticeable. In the following test script sync(1) takes around 6
minutes when there are two ext4 filesystems mounted on a standard SATA
drive. After this patch sync takes a couple of seconds so we have about
two orders of magnitude improvement.

      function run_writers
      {
        for (( i = 0; i < 10; i++ )); do
          mkdir $1/dir$i
          for (( j = 0; j < 40000; j++ )); do
            dd if=/dev/zero of=$1/dir$i/$j bs=4k count=4 &>/dev/null
          done &
        done
      }

      for dir in "$@"; do
        run_writers $dir
      done

      sleep 40
      time sync

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Only show voltage for frequencies that are used
update defconfig